From: Nikita Glukhov <n.gluhov@postgrespro.ru>
To: PostgreSQL mailing lists <pgsql-hackers@postgresql.org>
Subject: [PATCH] fix typo in commit a4523c5
Date: Wed, 18 Jan 2017 23:01:54 +0300
Message-ID: <8b70135d-ad38-bdd8-ac92-71e2b3c273cf@postgrespro.ru> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
Attached patch fixes typo in regression test src/test/regress/sql/create_index.sql
that was introduced in commit a4523c5
("Improve planning of btree index scans using ScalarArrayOpExpr quals.").
In this commit the following lines were added to create_index.sql:
SET enable_indexonlyscan = OFF;
...
RESET enable_indexscan;
Obviously, the last line should be
RESET enable_indexonlyscan;
--
Nikita Glukhov
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackersAttachments:
[text/x-patch] fix-typo-in-commit-a4523c5.patch (871B, ../8b70135d-ad38-bdd8-ac92-71e2b3c273cf@postgrespro.ru/2-fix-typo-in-commit-a4523c5.patch)
download | inline diff:diff --git a/src/test/regress/expected/create_index.out b/src/test/regress/expected/create_index.outindex c6dfb26..e519fdb 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.sqlindex 822c34a..1648072 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: n.gluhov@postgrespro.ru
Subject: Re: [PATCH] fix typo in commit a4523c5
In-Reply-To: <8b70135d-ad38-bdd8-ac92-71e2b3c273cf@postgrespro.ru>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox