postgresql/src/test
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
..
bench Update copyright for 2009. 2009-01-01 17:24:05 +00:00
examples 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
locale 8.4 pgindent run, with new combined Linux/FreeBSD/MinGW typedef list 2009-06-11 14:49:15 +00:00
mb Modify CREATE DATABASE to enforce that the source database's encoding setting 2009-05-06 16:15:21 +00:00
performance Add CVS tag lines to files that were lacking them. 2006-03-11 04:38:42 +00:00
regress Ensure that a cursor has an immutable snapshot throughout its lifespan. 2009-10-02 17:58:21 +00:00
thread Update copyright for 2009. 2009-01-01 17:24:05 +00:00
Makefile $Header: -> $PostgreSQL Changes ... 2003-11-29 19:52:15 +00:00