Re: [HACKERS] LOCK TABLE statement - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [HACKERS] LOCK TABLE statement
Date
Msg-id 199804221428.KAA24050@candle.pha.pa.us
Whole thread Raw
In response to LOCK TABLE statement  ("Jose' Soares Da Silva" <sferac@proxy.bazzanese.com>)
List pgsql-hackers
>
>
> Hi, all
>
>    Is the following sentence true ?
>
>    * LOCK TABLE statement don't allows read access to locked tables by
>      the other users.
>      If another user try to SELECT a locked table, he must attend
>      until the locked table is released.
>
>    I have heard about another syntax of LOCK TABLE that allows read access
>    to locked tables, on v6.3.2.
>    Is it true or I've dream ?

No, perhaps in 6.4.  However, any select from a table does it.

--
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)

pgsql-hackers by date:

Previous
From: "Göran Thyni"
Date:
Subject: Re: [HACKERS] Re: Proposal for async support in libpq
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] Safe/Fast I/O ...