Re: [HACKERS] LOCK command

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: vadim@sable.krasnoyarsk.su (Vadim B. Mikheev)
Cc: hackers@postgreSQL.org
Date: 1998-01-23T14:58:07Z
Lists: pgsql-hackers
> 
> Bruce Momjian wrote:
> > 
> > I have implemented LOCK tablename for 6.3.  It just does a DELETE table
> > WHERE false.
> 
> Unfortunately, this will be useful inside BEGIN/END only :(
> 
> Vadim
> 
> 

Well, if they issue a LOCK outside a transaction, it doesn't do
anything.  To be usefull outside a transaction, we would have to have a
LOCK/UNLOCK command, and I am not at that point yet.

-- 
Bruce Momjian
maillist@candle.pha.pa.us