postgres.git / summary / log / commit / refs

commit    22b4b55b99f60ae8a586f30eb95f5e7efb083467
Author:   Tom Lane <tgl@sss.pgh.pa.us>
Date:     Wed Jan 18 21:33:18 2017 +0000

    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


src/test/regress/expected/create_index.out | 2 +- src/test/regress/sql/create_index.sql | 2 +- 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 c04e7e31221..0aceab1b4e8 100644 --- a/src/test/regress/expected/create_index.out +++ b/src/test/regress/expected/create_index.out @@ -2762,7 +2762,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 31aaad3c430..7cc8d34f070 100644 --- a/src/test/regress/sql/create_index.sql +++ b/src/test/regress/sql/create_index.sql @@ -927,7 +927,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 [parent: e0f4a80ee515]