diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:34 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2006-10-12 17:02:34 +0000 |
commit | 9a0271bd31a36e96db24fae47749243243ad082b (patch) | |
tree | de95c49020888cc2f0368592d2c979741ab242fa /src/backend/tcop/postgres.c | |
parent | b6a71905d3eedd7b5dcc52d5fccaa86d6b686cf4 (diff) | |
download | postgresql-9a0271bd31a36e96db24fae47749243243ad082b.tar.gz postgresql-9a0271bd31a36e96db24fae47749243243ad082b.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/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions