diff options
author | Robert Haas <rhaas@postgresql.org> | 2016-05-16 11:19:10 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2016-05-16 11:19:10 -0400 |
commit | 1b812afb0eafe125b820cc3b95e7ca03821aa675 (patch) | |
tree | e7c4f63d7ccf8531766414d7c3ce2a31d18e124a /contrib/postgres_fdw/postgres_fdw.c | |
parent | b7a9347c11e19918a34b127a096061bfb002fcb5 (diff) | |
download | postgresql-1b812afb0eafe125b820cc3b95e7ca03821aa675.tar.gz postgresql-1b812afb0eafe125b820cc3b95e7ca03821aa675.zip |
Fix multiple problems in postgres_fdw query cancellation logic.
First, even if we cancel a query, we still have to roll back the
containing transaction; otherwise, the session will be left in a
failed transaction state.
Second, we need to support canceling queries whe aborting a
subtransaction as well as when aborting a toplevel transaction.
Etsuro Fujita, reviewed by Michael Paquier
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
0 files changed, 0 insertions, 0 deletions