Re: LOCK SEQUENCE

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Mikhail Terekhov <terekhov(at)emc(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: LOCK SEQUENCE
Date: 2001-10-25 21:40:08
Message-ID: 20144.1004046008@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Mikhail Terekhov <terekhov(at)emc(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sean Sell 2001-10-25 23:53:44 Cross Database Links
Previous Message Tom Lane 2001-10-25 21:35:10 Re: [GENERAL] Using an SMP machine to make multiple indices on the same