Why do we need pg_vlock? - Mailing list pgsql-hackers

From Tom Lane
Subject Why do we need pg_vlock?
Date
Msg-id 20775.937684686@sss.pgh.pa.us
Whole thread Raw
Responses Re: [HACKERS] Why do we need pg_vlock?
List pgsql-hackers
It seems to me there's no fundamental reason why there couldn't be
two VACUUMs running concurrently in a database.  With the locking
we are doing now, it should be safe enough.  So, I'd like to propose
that we get rid of the pg_vlock lock file.  It doesn't have any useful
purpose but it does force manual intervention by the dbadmin to recover
if a VACUUM crashes :-(

Comments?  Did I miss something about why we can't have more than one
vacuum process?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: [HACKERS] case bug?
Next
From: Bruce Momjian
Date:
Subject: Re: [INTERFACES] Re: [HACKERS] changes in 6.4