Skip to content

Commit

Permalink
Clean up objects created by tests for index ordering check
Browse files Browse the repository at this point in the history
These tests have been introduced in 23cabaf, but forgot to clean up
the objects created.  These are not required in any follow-up code
paths.

Backpatch-through: 15
  • Loading branch information
michaelpq committed Sep 10, 2023
1 parent a10bb85 commit e68e7b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions expected/pg_hint_plan.out
Original file line number Diff line number Diff line change
Expand Up @@ -4509,6 +4509,7 @@ error hint:
Filter: (b = '''x'''::tsvector)
(5 rows)

DROP TABLE ischk;
-- quote test
/*+SeqScan("""t1 ) ")IndexScan("t 2 """)HashJoin("""t1 ) "T3"t 2 """)Leading("""t1 ) "T3"t 2 """)Set(application_name"a a a"" a A")*/
EXPLAIN (COSTS false) SELECT * FROM t1 """t1 ) ", t2 "t 2 """, t3 "T3" WHERE """t1 ) ".id = "t 2 """.id AND """t1 ) ".id = "T3".id;
Expand Down
1 change: 1 addition & 0 deletions sql/pg_hint_plan.sql
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,7 @@ CREATE TABLE ischk_d2 PARTITION OF ischk FOR VALUES IN (1);
CREATE INDEX ischk_idx ON ischk USING gin (b);
/*+ IndexScan(ischk ischk_idx) */
EXPLAIN (COSTS false) SELECT * FROM ischk WHERE b = 'x';
DROP TABLE ischk;

-- quote test
/*+SeqScan("""t1 ) ")IndexScan("t 2 """)HashJoin("""t1 ) "T3"t 2 """)Leading("""t1 ) "T3"t 2 """)Set(application_name"a a a"" a A")*/
Expand Down

0 comments on commit e68e7b4

Please sign in to comment.