diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:28 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:28 +0000 |
commit | fb27f43123e65db1219d296ea3e8bc2f07e9808b (patch) | |
tree | 66696071954f5da2d4ec803c043bf79a2aefa80b /src/backend/executor/nodeFunctionscan.c | |
parent | 23c64e18ec9136be452ea103190b7dd8561be71a (diff) | |
download | postgresql-fb27f43123e65db1219d296ea3e8bc2f07e9808b.tar.gz postgresql-fb27f43123e65db1219d296ea3e8bc2f07e9808b.zip |
Fix mishandling of after-trigger state when a SQL function returns multiple
rows --- if the surrounding query queued any trigger events between the rows,
the events would be fired at the wrong time, leading to bizarre behavior.
Per report from Merlin Moncure.
This is a simple patch that should solve the problem fully in the back
branches, but in HEAD we also need to consider the possibility of queries
with RETURNING clauses. Will look into a fix for that separately.
Diffstat (limited to 'src/backend/executor/nodeFunctionscan.c')
0 files changed, 0 insertions, 0 deletions