pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl 3+ messages / 1 participants [nested] [flat]
* pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl @ 2019-04-08 16:20 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2019-04-08 16:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix EvalPlanQualStart to handle partitioned result rels correctly. The es_root_result_relations array needs to be shallow-copied in the same way as the main es_result_relations array, else EPQ rechecks on partitioned result relations fail, as seen in bug #15677 from Norbert Benkocs. Amit Langote, isolation test case added by me Discussion: https://postgr.es/m/15677-0bf089579b4cd02d@postgresql.org Discussion: https://postgr.es/m/19321.1554567786@sss.pgh.pa.us Branch ------ REL_10_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/1b5bbe4bcc912b070ad705ad7a79806692af18c8 Modified Files -------------- src/backend/executor/execMain.c | 14 +++++++++++++- src/test/isolation/expected/eval-plan-qual.out | 12 ++++++++++++ src/test/isolation/specs/eval-plan-qual.spec | 17 +++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl @ 2019-04-08 16:20 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2019-04-08 16:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix EvalPlanQualStart to handle partitioned result rels correctly. The es_root_result_relations array needs to be shallow-copied in the same way as the main es_result_relations array, else EPQ rechecks on partitioned result relations fail, as seen in bug #15677 from Norbert Benkocs. Amit Langote, isolation test case added by me Discussion: https://postgr.es/m/15677-0bf089579b4cd02d@postgresql.org Discussion: https://postgr.es/m/19321.1554567786@sss.pgh.pa.us Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/a8cb8f124679e0c373fdd07108b136e1cf1ee14a Modified Files -------------- src/backend/executor/execMain.c | 14 +++++++++++++- src/test/isolation/expected/eval-plan-qual.out | 12 ++++++++++++ src/test/isolation/specs/eval-plan-qual.spec | 17 +++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl @ 2019-04-08 16:20 Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 3+ messages in thread From: Tom Lane @ 2019-04-08 16:20 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Fix EvalPlanQualStart to handle partitioned result rels correctly. The es_root_result_relations array needs to be shallow-copied in the same way as the main es_result_relations array, else EPQ rechecks on partitioned result relations fail, as seen in bug #15677 from Norbert Benkocs. Amit Langote, isolation test case added by me Discussion: https://postgr.es/m/15677-0bf089579b4cd02d@postgresql.org Discussion: https://postgr.es/m/19321.1554567786@sss.pgh.pa.us Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/b291488da5132e0355717b365dcc30c740cdcd03 Modified Files -------------- src/backend/executor/execMain.c | 14 +++++++++++++- src/test/isolation/expected/eval-plan-qual.out | 12 ++++++++++++ src/test/isolation/specs/eval-plan-qual.spec | 17 +++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2019-04-08 16:20 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2019-04-08 16:20 pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl Tom Lane <tgl@sss.pgh.pa.us> 2019-04-08 16:20 pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl Tom Lane <tgl@sss.pgh.pa.us> 2019-04-08 16:20 pgsql: Fix EvalPlanQualStart to handle partitioned result rels correctl Tom Lane <tgl@sss.pgh.pa.us>
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