Re: getting rid of SnapshotNow
Andres Freund <andres@2ndquadrant.com>
From: Andres Freund <andres@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2013-07-26T13:01:53Z
Lists: pgsql-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