aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execProcnode.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-11-14 17:42:55 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-11-14 17:42:55 +0000
commit76ce39e386fdcd73c864ac1cf79cb81547e54e4f (patch)
tree93d8130de89c608cd612146b49691edf73e06412 /src/backend/executor/execProcnode.c
parent08ee64ebf5e5495c3660a2c9f278a3bf3e60b853 (diff)
downloadpostgresql-76ce39e386fdcd73c864ac1cf79cb81547e54e4f.tar.gz
postgresql-76ce39e386fdcd73c864ac1cf79cb81547e54e4f.zip
Prevent ExecInsert() and ExecUpdate() from scribbling on the result tuple
slot of the topmost plan node when a trigger returns a modified tuple. These appear to be the only places where a plan node's caller did not treat the result slot as read-only, which is an assumption that nodeUnique makes as of 8.1. Fixes trigger-vs-DISTINCT bug reported by Frank van Vugt.
Diffstat (limited to 'src/backend/executor/execProcnode.c')
0 files changed, 0 insertions, 0 deletions