Re: [HACKERS] LOCK command - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] LOCK command
Date
Msg-id 199801231458.JAA23254@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] LOCK command  ("Vadim B. Mikheev" <vadim@sable.krasnoyarsk.su>)
List 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

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] locking change help
Next
From: "Michael J. Rogan"
Date:
Subject: Re: [QUESTIONS] Re: [HACKERS] Re: [PORTS] Important Announcement