diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:24 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:24 +0000 |
commit | d2e17e1ddc3d09478575b18ce00876d8668011b3 (patch) | |
tree | 8b0cbfef22b15cd39f874cedb5c1f05e6a24ab39 /src/backend/port/win32/socket.c | |
parent | b38900c7677657a815e75781b776fb1e41054df3 (diff) | |
download | postgresql-d2e17e1ddc3d09478575b18ce00876d8668011b3.tar.gz postgresql-d2e17e1ddc3d09478575b18ce00876d8668011b3.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/port/win32/socket.c')
0 files changed, 0 insertions, 0 deletions