postgres/src/backend
Robert Haas 05bd889904 Fix RETURNING to work correctly with partition tuple routing.
In ExecInsert(), do not switch back to the root partitioned table
ResultRelInfo until after we finish ExecProcessReturning(), so that
RETURNING projection is done using the partition's descriptor.  For
the projection to work correctly, we must initialize the same for each
leaf partition during ModifyTableState initialization.

Amit Langote
2017-01-19 13:20:11 -05:00
..
access Improve comment in hashsearch.c. 2017-01-18 16:36:48 -05:00
bootstrap Remove dead code in bootstrap 2017-01-17 16:54:40 -03:00
catalog Fix RETURNING to work correctly with partition tuple routing. 2017-01-19 13:20:11 -05:00
commands Fix RETURNING to work correctly with partition tuple routing. 2017-01-19 13:20:11 -05:00
executor Fix RETURNING to work correctly with partition tuple routing. 2017-01-19 13:20:11 -05:00
foreign Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
lib Fix overflow check in StringInfo; add missing casts 2017-01-10 11:41:13 -03:00
libpq Rename C symbols for backend lo_ functions 2017-01-17 12:35:30 -05:00
main Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
nodes Move targetlist SRF handling from expression evaluation to new executor node. 2017-01-18 13:40:27 -08:00
optimizer Move targetlist SRF handling from expression evaluation to new executor node. 2017-01-18 13:40:27 -08:00
parser Make messages mentioning type names more uniform 2017-01-18 16:08:20 -03:00
po Translation updates 2016-08-08 11:08:00 -04:00
port Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
postmaster Re-allow SSL passphrase prompt at server start, but not thereafter. 2017-01-04 12:44:03 -05:00
regex Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
replication Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
rewrite Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
snowball Update copyright via script for 2017 2017-01-03 13:48:53 -05:00
storage Fix typo 2017-01-17 16:49:20 -03:00
tcop Change representation of statement lists, and add statement location info. 2017-01-14 16:02:35 -05:00
tsearch Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
utils Allow negative years in make_date to represent BC years 2017-01-19 09:45:38 -03:00
.gitignore Add .gitignore entries for AIX-specific intermediate build artifacts. 2015-07-08 20:44:22 -04:00
common.mk
Makefile Generate fmgr prototypes automatically 2017-01-17 14:06:07 -05:00
nls.mk Remove trailing slashes from directories in find command 2015-09-18 22:06:54 -04:00