postgresql/src/backend
Andres Freund d06aba240d Fix parent node of WCO expressions in partitioned tables.
Since edd44738bc 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
2018-03-05 17:49:59 -08:00
..
access Fix HEAP_INSERT_IS_SPECULATIVE to HEAP_INSERT_SPECULATIVE in comments. 2018-03-05 15:28:03 -08:00
bootstrap Allow UNIQUE indexes on partitioned tables 2018-02-19 17:40:00 -03:00
catalog Minor cleanup in genbki.pl. 2018-03-03 12:05:28 -05:00
commands Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL) 2018-03-05 19:37:19 -03:00
executor Fix parent node of WCO expressions in partitioned tables. 2018-03-05 17:49:59 -08:00
foreign Remove bogus "extern" annotations on function definitions. 2018-02-19 12:07:44 -05:00
lib Minor clean-up in dshash.{c,h}. 2018-03-01 16:25:46 -08:00
libpq Fix up references to scram-sha-256 2018-01-30 16:50:30 -05:00
main Update copyright for 2018 2018-01-02 23:30:12 -05:00
nodes Clone extended stats in CREATE TABLE (LIKE INCLUDING ALL) 2018-03-05 19:37:19 -03:00
optimizer Add prokind column, replacing proisagg and proiswindow 2018-03-02 13:48:33 -05:00
parser Add parenthesized options syntax for ANALYZE. 2018-03-05 16:21:05 -08:00
po Translation updates 2017-08-07 13:55:34 -04:00
port Support huge pages on Windows 2018-01-21 15:40:46 +01:00
postmaster Empty search_path in Autovacuum and non-psql/pgbench clients. 2018-02-26 07:39:44 -08:00
regex Update copyright for 2018 2018-01-02 23:30:12 -05:00
replication Fix filtering of unsupported relations in logical replication 2018-02-23 22:13:21 -05:00
rewrite Fix application of identity values in some cases 2018-02-02 14:39:10 -05:00
snowball Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
statistics Update copyright for 2018 2018-01-02 23:30:12 -05:00
storage shm_mq: Fix detach race condition. 2018-03-05 15:12:49 -05:00
tcop Support parameters in CALL 2018-02-22 21:36:48 -05:00
tsearch Avoid unnecessary use of pg_strcasecmp for already-downcased identifiers. 2018-01-26 18:25:14 -05:00
utils Fix assorted issues in convert_to_scalar(). 2018-03-03 20:31:35 -05:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
Makefile Update copyright for 2018 2018-01-02 23:30:12 -05:00
common.mk Add ICU_CFLAGS to global CPPFLAGS 2017-06-12 15:57:22 -04:00
nls.mk Translation updates 2017-05-15 12:19:54 -04:00