diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-10-02 17:57:30 +0000 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2009-10-02 17:57:30 +0000 |
commit | caa4cfa3697472a6673eb817eb34681684cba14f (patch) | |
tree | 8da52acab9865afa01f6771a33f3eb9a5952b6fa /src/backend/access/gin/gininsert.c | |
parent | fabf75cffc34b187aba57b0d3a086ebec586d016 (diff) | |
download | postgresql-caa4cfa3697472a6673eb817eb34681684cba14f.tar.gz postgresql-caa4cfa3697472a6673eb817eb34681684cba14f.zip |
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.
Diffstat (limited to 'src/backend/access/gin/gininsert.c')
0 files changed, 0 insertions, 0 deletions