diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2019-04-08 12:20:22 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2019-04-08 12:20:22 -0400 |
commit | b291488da5132e0355717b365dcc30c740cdcd03 (patch) | |
tree | 0d44540918e882b61c36393aa797d98328bb5416 /contrib/jsonb_plpython/jsonb_plpython.c | |
parent | 6b0208ebc436b33bd80ce264299b4b1b8d59b68a (diff) | |
download | postgresql-b291488da5132e0355717b365dcc30c740cdcd03.tar.gz postgresql-b291488da5132e0355717b365dcc30c740cdcd03.zip |
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
Diffstat (limited to 'contrib/jsonb_plpython/jsonb_plpython.c')
0 files changed, 0 insertions, 0 deletions