Use InvalidSnapshot, now SnapshotNow, as the default snapshot.

Robert Haas <rhaas@postgresql.org>

Commit: 765ad89be36f699e2d65238c1f0458a1ab7e4d8b
Author: Robert Haas <rhaas@postgresql.org>
Date: 2013-07-23T14:58:32Z
Releases: 9.4.0
Use InvalidSnapshot, now SnapshotNow, as the default snapshot.

As far as I can determine, there's no code in the core distribution
that fails to explicitly set the snapshot of a scan or executor
state.  If there is any such code, this will probably cause it to
seg fault; friendlier suggestions were discussed on pgsql-hackers,
but there was no consensus that anything more than this was
needed.

This is another step towards the hoped-for complete removal of
SnapshotNow.

Files

PathChange+/−
src/backend/access/index/genam.c modified +1 −1
src/backend/executor/execUtils.c modified +1 −1