pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: getting rid of SnapshotNow
Date: Fri, 26 Jul 2013 15:01:53 +0200
Message-ID: <20130726130153.GA9000@alap2.anarazel.de> (raw)
In-Reply-To: <13646.1374842978@sss.pgh.pa.us>
References: <CA+TgmoaLeu7wKtfPA0v=iQNMKOJZqg4TZf1Gyxn=7mbwa=Mxag@mail.gmail.com>
	<CA+TgmoZ_q2KMkxZAoRxRHB7k1tOmjVjQgYt2JuA7=U7QZoLxNw@mail.gmail.com>
	<2812.1374596914@sss.pgh.pa.us>
	<CA+TgmobKTMoRzaJ5iAUiHhta-qvi9eYgqC_fvs4m7JznFfhh5g@mail.gmail.com>
	<4668.1374603872@sss.pgh.pa.us>
	<CA+TgmoZEw3U2sNY7Ry5mO6wMxLmqaxyjxdiYhMSAA2W-UkTH8g@mail.gmail.com>
	<5175.1374605629@sss.pgh.pa.us>
	<CA+TgmoYrnryX2NHrGMXcz-casMBh-Jdnb3nTjLMHFtSwH1Sq7w@mail.gmail.com>
	<13646.1374842978@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

On 2013-07-26 08:49:38 -0400, Tom Lane wrote:
> Robert Haas <robertmhaas@gmail.com> 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



view thread (44+ messages)  latest in thread

Message-ID: <20130726130153.GA9000@alap2.anarazel.de>
Permalink:  ../20130726130153.GA9000@alap2.anarazel.de/
Also on:    postgresql.org/message-id/20130726130153.GA9000@alap2.anarazel.de

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-odbc@postgresql.org
  Cc: andres@2ndquadrant.com, tgl@sss.pgh.pa.us, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: getting rid of SnapshotNow
  In-Reply-To: <20130726130153.GA9000@alap2.anarazel.de>
  References: <CA+TgmoaLeu7wKtfPA0v=iQNMKOJZqg4TZf1Gyxn=7mbwa=Mxag@mail.gmail.com> <CA+TgmoZ_q2KMkxZAoRxRHB7k1tOmjVjQgYt2JuA7=U7QZoLxNw@mail.gmail.com> <2812.1374596914@sss.pgh.pa.us> <CA+TgmobKTMoRzaJ5iAUiHhta-qvi9eYgqC_fvs4m7JznFfhh5g@mail.gmail.com> <4668.1374603872@sss.pgh.pa.us> <CA+TgmoZEw3U2sNY7Ry5mO6wMxLmqaxyjxdiYhMSAA2W-UkTH8g@mail.gmail.com> <5175.1374605629@sss.pgh.pa.us> <CA+TgmoYrnryX2NHrGMXcz-casMBh-Jdnb3nTjLMHFtSwH1Sq7w@mail.gmail.com> <13646.1374842978@sss.pgh.pa.us> <20130726130153.GA9000@alap2.anarazel.de>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox