Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

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: Thu, 25 Oct 2001 17:40:08 -0400
  • Message-id: <20144.1004046008@sss.pgh.pa.us> <text/plain>

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



Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group