diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2007-03-30 00:12:59 +0000 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2007-03-30 00:12:59 +0000 |
commit | 8875d0987d767f0ea14bffd636841e003d41eca8 (patch) | |
tree | 65cebb8cd7418fbfa7716ab1cee05b7b1b4c50aa /src/backend/utils/adt/xml.c | |
parent | 452427d0fdc49aeb74711eabe0c6d9554d406089 (diff) | |
download | postgresql-8875d0987d767f0ea14bffd636841e003d41eca8.tar.gz postgresql-8875d0987d767f0ea14bffd636841e003d41eca8.zip |
Fix oversight in coding of _bt_start_vacuum: we can't assume that the LWLock
will be released by transaction abort before _bt_end_vacuum gets called.
If either of these "can't happen" errors actually happened, we'd freeze up
trying to acquire an already-held lock. Latest word is that this does
not explain Martin Pitt's trouble report, but it still looks like a bug.
Diffstat (limited to 'src/backend/utils/adt/xml.c')
0 files changed, 0 insertions, 0 deletions