Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 0B9B1B5DC2D for ; Mon, 17 Oct 2011 16:21:24 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 05315-02 for ; Mon, 17 Oct 2011 19:21:17 +0000 (UTC) X-Greylist: delayed 00:06:37.934342 by SQLgrey-1.8.0-rc2 Received: from oproxy9.bluehost.com (oproxy9.bluehost.com [69.89.24.6]) by mail.postgresql.org (Postfix) with SMTP id 9190CB5DC0F for ; Mon, 17 Oct 2011 16:21:16 -0300 (ADT) Received: (qmail 26985 invoked by uid 0); 17 Oct 2011 19:14:36 -0000 Received: from unknown (HELO host159.hostmonster.com) (74.220.207.159) by oproxy9.bluehost.com with SMTP; 17 Oct 2011 19:14:36 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=timbira.com; s=default; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=kRzpjr17KmiXVVUDGatPgE+rJbWzr4vYL24U/IoIz0w=; b=PQau5NCvFjyCP4NgkpmyKJ5TTTwnDIS+2Jl/zmQAQ8VyeHaGgjlEkfiDxL5AkKAeLJQXXGT58sIemerkfm7LiZ22tW1UYMoHDEYPkPu1xLCz8n6XqCQ0OBRvaEuMTqIa; Received: from [187.55.150.44] (helo=[10.3.2.2]) by host159.hostmonster.com with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RFsdw-0007ON-BP; Mon, 17 Oct 2011 13:14:36 -0600 Message-ID: <4E9C7E49.7040507@timbira.com> Date: Mon, 17 Oct 2011 16:13:13 -0300 From: Euler Taveira de Oliveira User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Tom Lane CC: Laerson Keler , pgsql-bugs@postgresql.org Subject: Re: BUG #6258: Lock Sequence References: <201110171308.p9HD81vP028182@wwwmaster.postgresql.org> <14643.1318866768@sss.pgh.pa.us> In-Reply-To: <14643.1318866768@sss.pgh.pa.us> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Identified-User: {1651:host159.hostmonster.com:timbirac:timbira.com} {sentby:smtp auth 187.55.150.44 authed with euler@timbira.com} X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/146 X-Sequence-Number: 31416 On 17-10-2011 12:52, Tom Lane wrote: > "Laerson Keler" 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=21538377ee6a0ee91f756726bd8b3de6d19fd20a -- Euler Taveira de Oliveira - Timbira http://www.timbira.com.br/ PostgreSQL: Consultoria, Desenvolvimento, Suporte 24x7 e Treinamento