Re: LOCK SEQUENCE - Mailing list pgsql-hackers

From Tom Lane
Subject Re: LOCK SEQUENCE
Date
Msg-id 20144.1004046008@sss.pgh.pa.us
Whole thread Raw
In response to LOCK SEQUENCE  (Mikhail Terekhov <terekhov@emc.com>)
List pgsql-hackers
Mikhail Terekhov <terekhov@emc.com> writes:
> In my application I use 'LOCK seq'. In 7.0.2 it worked fine but in
> 7.1.2 Postgres complains that 'seq is not a table'. Is this
> (disabling to lock a sequences) an intended change?

Hmm, it wasn't thought about too much, but why in the world would you
want to lock a sequence?  Seems like that destroys the point of using
one.
        regards, tom lane


pgsql-hackers by date:

Previous
From: David Ford
Date:
Subject: [patch] helps fe-connect.c handle -EINTR more gracefully
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Using an SMP machine to make multiple indices on the same