Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2hem-0004Vr-HB for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jul 2013 13:02:04 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1V2hem-0001Vh-0L for pgsql-hackers@arkaria.postgresql.org; Fri, 26 Jul 2013 13:02:04 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2hek-0001Tm-2H for pgsql-hackers@postgresql.org; Fri, 26 Jul 2013 13:02:02 +0000 Received: from mail.anarazel.de ([217.115.131.40]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1V2hed-0003Uj-Lf for pgsql-hackers@postgresql.org; Fri, 26 Jul 2013 13:02:01 +0000 Received: from intern.anarazel.de (p54AF4378.dip0.t-ipconnect.de [84.175.67.120]) (Authenticated sender: andres@anarazel.de) by mail.anarazel.de (Postfix) with ESMTPSA id D16414F0004; Fri, 26 Jul 2013 15:01:53 +0200 (CEST) Date: Fri, 26 Jul 2013 15:01:53 +0200 From: Andres Freund To: Tom Lane Cc: Robert Haas , pgsql-hackers@postgresql.org Subject: Re: getting rid of SnapshotNow Message-ID: <20130726130153.GA9000@alap2.anarazel.de> References: <2812.1374596914@sss.pgh.pa.us> <4668.1374603872@sss.pgh.pa.us> <5175.1374605629@sss.pgh.pa.us> <13646.1374842978@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <13646.1374842978@sss.pgh.pa.us> X-Pg-Spam-Score: -0.7 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 2013-07-26 08:49:38 -0400, Tom Lane wrote: > Robert Haas writes: > > OK. I've taken care of all remaining uses of SnapshotNow in the code > > base. I think we can go ahead and remove it, now. Patch attached. > > > (And there was, hopefully, much rejoicing.) > > What about SnapshotSelf? I thought about that yesterday and I think we should replace the usages which aren't easily replaceable (constraint stuff) with an mvcc snapshot, just one treats our transaction's current CommandId as visible. That should be doable? Greetings, Andres Freund -- Andres Freund http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers