X-Original-To: pgsql-general@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 1FA3C475F80 for ; Fri, 28 Feb 2003 16:40:47 -0500 (EST) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with SMTP id 34089-01 for ; Fri, 28 Feb 2003 16:40:36 -0500 (EST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by postgresql.org (Postfix) with ESMTP id 4B33147605C for ; Fri, 28 Feb 2003 15:10:36 -0500 (EST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.6/8.12.6) with ESMTP id h1SKAA5u005980; Fri, 28 Feb 2003 15:10:10 -0500 (EST) To: Jean-Christian Imbeault Cc: Doug McNaught , pgsql-general@postgresql.org Subject: Re: Locking rows In-reply-to: <3E5F931D.6090509@mega-bucks.co.jp> References: <3E5F396F.4090507@mega-bucks.co.jp> <3E5F931D.6090509@mega-bucks.co.jp> Comments: In-reply-to Jean-Christian Imbeault message dated "Sat, 01 Mar 2003 01:49:33 +0900" Date: Fri, 28 Feb 2003 15:10:10 -0500 Message-ID: <5979.1046463010@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new X-Archive-Number: 200302/1716 X-Sequence-Number: 38470 Jean-Christian Imbeault writes: > True but what I am worried about is the data changing while I am in a > transaction. Start a serializable-mode transaction, and the data will not change --- not from your perspective, anyway. Trying to lock it down to not change from other people's perspectives seems pointless. regards, tom lane