diff options
author | Robert Haas <rhaas@postgresql.org> | 2012-04-18 11:17:30 -0400 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2012-04-18 11:17:30 -0400 |
commit | 53c5b869b464d567c3b8f617201b49a395f437ab (patch) | |
tree | 60377296105651401329bc604e06deb54a4e8216 /src/backend/executor/nodeModifyTable.c | |
parent | ab77b2da8bf2cd1c8068f2f90e95c42d426aba3c (diff) | |
download | postgresql-53c5b869b464d567c3b8f617201b49a395f437ab.tar.gz postgresql-53c5b869b464d567c3b8f617201b49a395f437ab.zip |
Tighten up error recovery for fast-path locking.
The previous code could cause a backend crash after BEGIN; SAVEPOINT a;
LOCK TABLE foo (interrupted by ^C or statement timeout); ROLLBACK TO
SAVEPOINT a; LOCK TABLE foo, and might have leaked strong-lock counts
in other situations.
Report by Zoltán Böszörményi; patch review by Jeff Davis.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions