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

On 17-10-2011 12:52, Tom Lane wrote:
> "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?
>
You can't. It was disabled [1].

> Why did you do that, that is what were you trying to accomplish?  It
> never did block nextval() on the sequence, for example.
>
Maybe he is using an old pgpool-II version?


[1] 
http://git.postgresql.org/gitweb/?p=postgresql.git;a=commit;h=21538377ee6a0ee91f756726bd8b3de6d19fd2...


-- 
    Euler Taveira de Oliveira - Timbira       http://www.timbira.com.br/
    PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento



view thread (8+ messages)  latest in thread

Message-ID: <4E9C7E49.7040507@timbira.com>
Permalink:  ../4E9C7E49.7040507@timbira.com/
Also on:    postgresql.org/message-id/4E9C7E49.7040507@timbira.com

 · 

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: euler@timbira.com, tgl@sss.pgh.pa.us, laerson.keler@lkmc.com.br
  Subject: Re: BUG #6258: Lock Sequence
  In-Reply-To: <4E9C7E49.7040507@timbira.com>
  References: <201110171308.p9HD81vP028182@wwwmaster.postgresql.org> <14643.1318866768@sss.pgh.pa.us> <4E9C7E49.7040507@timbira.com>

* 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