git.postgresql.org Git - postgresql.git/commit
2017年1月19日 18:20:11 +0000 (13:20 -0500)
2017年1月19日 18:20:11 +0000 (13:20 -0500)
commit 05bd889904e03479a7169b1c36e0e1db13fff7cb
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
This is the main PostgreSQL git repository.
RSS
Atom