From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Fix parent node of WCO expressions in partitioned tables. |
Date: | 2018-03-06 01:52:51 |
Message-ID: | E1et1md-0005gx-DN@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix parent node of WCO expressions in partitioned tables.
Since edd44738bc8814 WCO expressions of partitioned tables are
initialized with the first subplan as parent. That's not correct, as
the correct context is the ModifyTableState node. That's also what is
used for RETURNING processing, initialized nearby.
This appears not to cause any visible problems for in core code, but
is problematic for in development patch.
Discussion: https://postgr.es/m/20180303043818.tnvlo243bgy7una3@alap3.anarazel.de
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/d06aba240d24c499cdd5e77695b3cd28a094e648
Modified Files
--------------
src/backend/executor/execPartition.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2018-03-06 02:08:53 | Re: pgsql: Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL) |
Previous Message | Andres Freund | 2018-03-06 00:58:04 | Re: [COMMITTERS] pgsql: Fix inadequate locking during get_rel_oids(). |