Re: VACUUM FULL deadlock with backend startup
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Nikhil Sontakke <nikhil.sontakke@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2011-03-19T13:45:10Z
Lists: pgsql-hackers
On Fri, Mar 18, 2011 at 11:25 PM, Nikhil Sontakke <nikhil.sontakke@enterprisedb.com> wrote: > The fix is similar to the earlier commit by Tom. I tested this fix > against 8.3.13. We lock the parent catalog now before calling > index_open. Patch against git HEAD attached with this mail. I guess we > will backpatch this? Tom's last commit was backpatched till 8.2 I > think. Is it really worth slowing down the startup sequence for every connection to avoid deadlocking against a very rare maintenance operation? -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company