Re: [HACKERS] LOCK command

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: vadim(at)sable(dot)krasnoyarsk(dot)su (Vadim B(dot) Mikheev)
Cc: hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] LOCK command
Date: 1998-01-23 14:58:07
Message-ID: 199801231458.JAA23254@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)us

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1998-01-23 14:59:47 Re: [HACKERS] locking change help
Previous Message The Hermit Hacker 1998-01-23 13:19:22 Re: [HACKERS] Re: [PORTS] Important Announcement