aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2017-01-18 16:33:18 -0500
committerTom Lane <tgl@sss.pgh.pa.us>2017-01-18 16:33:55 -0500
commit692a70427a0ac4fd5aea869d3f03c1a23cc42035 (patch)
treee1c9d3562c258dcf761803b361fe33b244da2c3d /src
parentfce4609d5e5b7fc01e921f9fa3a6e75356284db6 (diff)
downloadpostgresql-692a70427a0ac4fd5aea869d3f03c1a23cc42035.tar.gz
postgresql-692a70427a0ac4fd5aea869d3f03c1a23cc42035.zip
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/8b70135d-ad38-bdd8-ac92-71e2b3c273cf@postgrespro.ru
Diffstat (limited to 'src')
-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 76593e1e06e..5bb3ea8baba 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 71f4f54cada..60780fb9145 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