8000 Reset the proper GUC in create_index test. · hackingwu/postgres@6290f8e · GitHub
[go: up one dir, main page]

Skip to content

Commit 6290f8e

Browse files
committed
Reset the proper GUC in create_index test.
Thinko in commit a4523c5. It doesn't really affect anything at present, but it would be a problem if any tests added later in this file ought to get index-only-scan plans. Back-patch, like the previous commit, just to avoid surprises in case we add such a test and then back-patch it. Nikita Glukhov Discussion: https://postgr.es/m/8b70135d-ad38-bdd8-ac92-71e2b3c273cf@postgrespro.ru
1 parent 75c155f commit 6290f8e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/test/regress/expected/create_index.out

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2792,7 +2792,7 @@ ORDER BY thousand;
27922792
1 | 1001
27932793
(2 rows)
27942794

2795-
RESET enable_indexscan;
2795+
RESET enable_indexonlyscan;
27962796
--
27972797
-- Check elimination of constant-NULL subexpressions
27982798
--

src/test/regress/sql/create_index.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,7 +943,7 @@ SELECT thousand, tenthous FROM tenk1
943943
WHERE thousand < 2 AND tenthous IN (1001,3000)
944944
ORDER BY thousand;
945945

946-
RESET enable_indexscan;
946+
RESET enable_indexonlyscan;
947947

948948
--
949949
-- Check elimination of constant-NULL subexpressions

0 commit comments

Comments
 (0)
0