pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Laerson Keler <laerson.keler@lkmc.com.br>
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #6258: Lock Sequence
Date: Mon, 17 Oct 2011 11:52:48 -0400
Message-ID: <14643.1318866768@sss.pgh.pa.us> (raw)
In-Reply-To: <201110171308.p9HD81vP028182@wwwmaster.postgresql.org>
References: <201110171308.p9HD81vP028182@wwwmaster.postgresql.org>

"Laerson Keler" <laerson.keler@lkmc.com.br> writes:
> Dear Srs, good morning, I did the automatic update postgresql 8.4.9 and
> a function stopped working, I used the option select for update
> in a sequence and is now giving the following error "can not lock rows in
> sequence ...", how can I enable the blocking of the sequence?

Why did you do that, that is what were you trying to accomplish?  It
never did block nextval() on the sequence, for example.

			regards, tom lane



view thread (8+ messages)  latest in thread

Message-ID: <14643.1318866768@sss.pgh.pa.us>
Permalink:  ../14643.1318866768@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/14643.1318866768@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: tgl@sss.pgh.pa.us, laerson.keler@lkmc.com.br
  Subject: Re: BUG #6258: Lock Sequence
  In-Reply-To: <14643.1318866768@sss.pgh.pa.us>
  References: <201110171308.p9HD81vP028182@wwwmaster.postgresql.org> <14643.1318866768@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox