diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-02-13 10:14:49 +0200 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2012-02-13 10:20:50 +0200 |
commit | 21b16342750d6623f3c78f639f07bf3b66b49417 (patch) | |
tree | 7f7dc4b7647ea1ad7e2c2ab3be9cac38b7aa1689 /src/backend/commands/functioncmds.c | |
parent | b4e3633ac42ed7af21bce611234ccbf820098644 (diff) | |
download | postgresql-21b16342750d6623f3c78f639f07bf3b66b49417.tar.gz postgresql-21b16342750d6623f3c78f639f07bf3b66b49417.zip |
Fix heap_multi_insert to set t_self field in the caller's tuples.
If tuples were toasted, heap_multi_insert didn't update the ctid on the
original tuples. This caused a failure if there was an after trigger
(including a foreign key), on the table, and a tuple got toasted.
Per off-list report and test case from Ted Phelps
Diffstat (limited to 'src/backend/commands/functioncmds.c')
0 files changed, 0 insertions, 0 deletions