summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2017-01-18 21:33:18 +0000
committerTom Lane2017-01-18 21:33:54 +0000
commit1586317c3f57e619e0cde674c6da406f9d73aaff (patch)
tree988ec81b4b2df0f8a1ae6cb68164474b34312b27
parent594e61a1de03ab93779e7e3d853edb7859d5c3cf (diff)
Reset the proper GUC in create_index test.
Thinko in commit a4523c5aa. 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/[email protected]
-rw-r--r--src/test/regress/expected/create_index.out2
-rw-r--r--src/test/regress/sql/create_index.sql2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/test/regress/expected/create_index.out b/src/test/regress/expected/create_index.out
index c6dfb26dd5..e519fdb0f6 100644
--- a/src/test/regress/expected/create_index.out
+++ b/src/test/regress/expected/create_index.out
@@ -2940,7 +2940,7 @@ ORDER BY thousand;
1 | 1001
(2 rows)
-RESET enable_indexscan;
+RESET enable_indexonlyscan;
--
-- Check elimination of constant-NULL subexpressions
--
diff --git a/src/test/regress/sql/create_index.sql b/src/test/regress/sql/create_index.sql
index 822c34af23..1648072568 100644
--- a/src/test/regress/sql/create_index.sql
+++ b/src/test/regress/sql/create_index.sql
@@ -1001,7 +1001,7 @@ SELECT thousand, tenthous FROM tenk1
WHERE thousand < 2 AND tenthous IN (1001,3000)
ORDER BY thousand;
-RESET enable_indexscan;
+RESET enable_indexonlyscan;
--
-- Check elimination of constant-NULL subexpressions