Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8D7C6B61DC6 for ; Wed, 1 Jun 2011 20:47:21 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 93768-04; Wed, 1 Jun 2011 23:47:14 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from spinlock.commandprompt.com (host-215.commandprompt.net [207.173.203.215]) by mail.postgresql.org (Postfix) with ESMTP id 9A236B61305; Wed, 1 Jun 2011 20:47:14 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by spinlock.commandprompt.com (Postfix) with ESMTP id 1B845348045; Wed, 1 Jun 2011 16:47:12 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at commandprompt.com Received: from spinlock.commandprompt.com ([127.0.0.1]) by localhost (spinlock.commandprompt.com.commandprompt.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Q+9XqWMfvjh7; Wed, 1 Jun 2011 16:47:10 -0700 (PDT) Received: from perhan.alvh.no-ip.org (unknown [190.95.16.242]) by spinlock.commandprompt.com (Postfix) with ESMTPSA id 05CCA348044; Wed, 1 Jun 2011 16:47:10 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id D9A326E3F8; Wed, 1 Jun 2011 19:47:06 -0400 (CLT) Content-Type: text/plain; charset=UTF-8 Cc: tgl , robertmhaas , mangoo , scott.marlowe , Kevin.Grittner , pgsql-hackers Subject: Re: pgpool versus sequences From: Alvaro Herrera To: Tatsuo Ishii In-reply-to: <20110602.080816.460114267356667394.t-ishii@sraoss.co.jp> References: <26909.1306965898@sss.pgh.pa.us> <27741.1306968830@sss.pgh.pa.us> <20110602.080816.460114267356667394.t-ishii@sraoss.co.jp> Date: Wed, 01 Jun 2011 19:47:06 -0400 Message-Id: <1306971997-sup-5549@alvh.no-ip.org> User-Agent: Sup/git Content-Transfer-Encoding: 8bit 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: 201106/81 X-Sequence-Number: 188794 Excerpts from Tatsuo Ishii's message of mié jun 01 19:08:16 -0400 2011: > What pgpool really wanted to do was locking sequence tables, not > locking rows in sequences. I wonder why the former is not allowed. Yeah -- why is LOCK SEQUENCE foo_seq not allowed? Seems a simple thing to have. -- Álvaro Herrera The PostgreSQL Company - Command Prompt, Inc. PostgreSQL Replication, Consulting, Custom Development, 24x7 support