aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2009-06-10 18:54:16 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2009-06-10 18:54:16 +0000
commit61dd4185ffb034a22b4b40425d56fe37e7178488 (patch)
treed72a8e75fc09a0e92ce1bd6712f579d1c0d28a19 /src/backend/access/gist
parent2ef8c1acfd5a1f81020c3eb2916f9dcfaeeec48c (diff)
downloadpostgresql-61dd4185ffb034a22b4b40425d56fe37e7178488.tar.gz
postgresql-61dd4185ffb034a22b4b40425d56fe37e7178488.zip
Keep rs_startblock the same during heap_rescan, so that a rescan of a SeqScan
node starts from the same place as the first scan did. This avoids surprising behavior of scrollable and WITH HOLD cursors, as seen in Mark Kirkwood's bug report of yesterday. It's not entirely clear whether a rescan should be forced to drop out of the syncscan mode, but for the moment I left the code behaving the same on that point. Any change there would only be a performance and not a correctness issue, anyway. Back-patch to 8.3, since the unstable behavior was created by the syncscan patch.
Diffstat (limited to 'src/backend/access/gist')
0 files changed, 0 insertions, 0 deletions