Re: [GENERAL] Postgres concurrency : urgent - Mailing list pgsql-general

From Marcin Inkielman
Subject Re: [GENERAL] Postgres concurrency : urgent
Date
Msg-id Pine.LNX.4.04.9911120923570.26188-100000@mi.marnnet
Whole thread Raw
In response to Re: [GENERAL] Postgres concurrency : urgent  (Vadim Mikheev <vadim@krs.ru>)
List pgsql-general
On Fri, 12 Nov 1999, Vadim Mikheev wrote:

> > LOCK <<tablename>> IN ACCESS EXCLUSIVE MODE;
>                         ^^^^^^
> This blocks concurrent read access - is it what you really want?
>
I know it is rather restrictive but when applied to a sequence it inhibits
to a unterminated transaction to change sequence current value (with
for example SELECT nextval('seq')) - ROLLBACK doesn't revert
previous sequence curr. value.

(sorry for my English)
************************************

    Marcin Inkielman

************************************
               .~.
               /V\
              // \\
             /(   )\
              ^`~'^

         powered by Linux
               ----

    sibi omino similis?
************************************


pgsql-general by date:

Previous
From: Vadim Mikheev
Date:
Subject: Re: Postgres concurrency : urgent
Next
From: Chairudin Sentosa Harjo
Date:
Subject: Re: [GENERAL] Postgres concurrency : urgent