X-Original-To: pgsql-general-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 9A88A9FA357 for ; Mon, 3 Jul 2006 08:54:42 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 82657-03 for ; Mon, 3 Jul 2006 08:54:36 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from suzuka.mcnaught.org (unknown [4.21.254.118]) by postgresql.org (Postfix) with ESMTP id 92AE29FA232 for ; Mon, 3 Jul 2006 08:54:35 -0300 (ADT) Received: by suzuka.mcnaught.org (Postfix, from userid 1000) id 4531E167834; Mon, 3 Jul 2006 07:54:24 -0400 (EDT) To: Joost Kraaijeveld Cc: pgsql-general@postgresql.org Subject: Re: Is what I want possible and if so how? References: <1151923545.6055.40.camel@localhost> From: Douglas McNaught Date: Mon, 03 Jul 2006 07:54:24 -0400 In-Reply-To: <1151923545.6055.40.camel@localhost> (Joost Kraaijeveld's message of "Mon, 03 Jul 2006 12:45:45 +0200") Message-ID: <87irmej43z.fsf@suzuka.mcnaught.org> User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/63 X-Sequence-Number: 97687 Joost Kraaijeveld writes: > I have read the manual about "LOCK", "SET TRANSACTION" and "SELECT...FOR > UPDATE", but from what I understand, they cannot prevent a "SELECT" from > another client, based on the "SELECT". > > Is there a way to make this possible? Have all the clients use SELECT FOR UPDATE. -Doug