Don't use SnapshotNow in get_actual_variable_range.
authorRobert Haas <rhaas@postgresql.org>
Thu, 25 Jul 2013 18:30:00 +0000 (14:30 -0400)
committerRobert Haas <rhaas@postgresql.org>
Thu, 25 Jul 2013 18:30:00 +0000 (14:30 -0400)
commit3483f4332de73e038db64be0614219b64fd3c971
tree5d787d946f935156fd729724ad1530a94447b4d8
parent1b09630fce1dfd4116eaaf154766a8a435168193
Don't use SnapshotNow in get_actual_variable_range.

Instead, use the active snapshot.  Per Tom Lane, this function is
most interested in knowing the range of tuples our scan will actually
see.

This is another step towards full removal of SnapshotNow.
src/backend/utils/adt/selfuncs.c