Alvaro Herrera ae35363dce Ensure that a cursor has an immutable snapshot throughout its lifespan.
The old coding was using a regular snapshot, referenced elsewhere, that was
subject to having its command counter updated.  Fix by creating a private copy
of the snapshot exclusively for the cursor.

Backpatch to 8.4, which is when the bug was introduced during the snapshot
management rewrite.
2009-10-02 17:58:21 +00:00
..
2009-01-01 17:24:05 +00:00
2009-01-01 17:24:05 +00:00
2009-09-03 21:01:26 +00:00
2009-01-01 17:24:05 +00:00
2009-06-26 19:33:52 +00:00