aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/spgist
diff options
context:
space:
mode:
authorRobert Haas <rhaas@postgresql.org>2017-01-19 13:20:11 -0500
committerRobert Haas <rhaas@postgresql.org>2017-01-19 13:20:11 -0500
commit05bd889904e03479a7169b1c36e0e1db13fff7cb (patch)
tree90af08c581519107dbdebe0e3815655c282e3799 /src/backend/access/spgist
parent39162b2030fb0a35a6bb28dc636b5a71b8df8d1c (diff)
downloadpostgresql-05bd889904e03479a7169b1c36e0e1db13fff7cb.tar.gz
postgresql-05bd889904e03479a7169b1c36e0e1db13fff7cb.zip
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
Diffstat (limited to 'src/backend/access/spgist')
0 files changed, 0 insertions, 0 deletions