pgsql: Fix oversight in coding of _bt_start_vacuum: we can't assume that

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix oversight in coding of _bt_start_vacuum: we can't assume that
Date: 2007-03-30 00:13:05
Message-ID: 20070330001305.6D6AC9FBBCC@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
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.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
pgsql/src/backend/access/nbtree:
nbtutils.c (r1.79 -> r1.79.2.1)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/access/nbtree/nbtutils.c.diff?r1=1.79&r2=1.79.2.1)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2007-03-30 03:19:03 pgsql: Update SSL description for when SSL root.crt/server.crt is
Previous Message Tom Lane 2007-03-30 00:12:59 pgsql: Fix oversight in coding of _bt_start_vacuum: we can't assume that