AW: Good name for new lock type for VACUUM? - Mailing list pgsql-hackers

From Zeugswetter Andreas SB
Subject AW: Good name for new lock type for VACUUM?
Date
Msg-id 11C1E6749A55D411A9670001FA687963368345@sdexcsrv1.f000.d0188.sd.spardat.at
Whole thread Raw
List pgsql-hackers
> > Still, it's an interesting alternative.  Comments anyone?
> 
> SelfExclusiveLock is clear and can't be confused with other 
> lock types.

How about giving it a label ? SelfExclusive would somehow suggest,
that you can have more than one self exclusive lock.
Like:lock table atab in self exclusive mode for "vacuum";does not conflict with:lock table atab in self exclusive mode
for"account balancing";
 

Andreas 


pgsql-hackers by date:

Previous
From: Zeugswetter Andreas SB
Date:
Subject: AW: [PATCH] Re: Setuid functions
Next
From: Hannu Krosing
Date:
Subject: Re: RE: [BUGS] Update is not atomic