Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id DEDEDB5DBD8 for ; Wed, 7 Sep 2011 12:55:53 -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 81706-01 for ; Wed, 7 Sep 2011 15:55:47 +0000 (UTC) X-Greylist: delayed 00:05:37.8109 by SQLgrey-1.7.6 Received: from mail.yitter.info (mail.yitter.info [208.86.224.201]) by mail.postgresql.org (Postfix) with ESMTP id 40875B5D80A for ; Wed, 7 Sep 2011 12:55:46 -0300 (ADT) Received: from shinkuro.com (69-196-144-227.dsl.teksavvy.com [69.196.144.227]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.yitter.info (Postfix) with ESMTPSA id A85261ECB41D for ; Wed, 7 Sep 2011 15:50:06 +0000 (UTC) Date: Wed, 7 Sep 2011 11:50:08 -0400 From: Andrew Sullivan To: pgsql-general@postgresql.org Subject: Re: conditional insert Message-ID: <20110907155007.GI35347@shinkuro.com> Mail-Followup-To: Andrew Sullivan , pgsql-general@postgresql.org References: <4E64A79E.7030503@compulab.co.il> <4E64AC45.6030704@rem.nl> <20110906190548.433E8B5DBD1@mail.postgresql.org> <20110907154526.AF909B5D80A@mail.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110907154526.AF909B5D80A@mail.postgresql.org> User-Agent: Mutt/1.5.21 (2010-09-15) 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: 201109/185 X-Sequence-Number: 179543 On Wed, Sep 07, 2011 at 11:45:11PM +0800, Lincoln Yeoh wrote: > Don't you have to block SELECTs so that the SELECTs get serialized? If you want to do that, why wouldn't you just use serializable mode? A -- Andrew Sullivan ajs@crankycanuck.ca