summaryrefslogtreecommitdiff
path: root/src/backend/access/transam/clog.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2011-10-31 16:40:16 -0400
committerTom Lane <tgl@sss.pgh.pa.us>2011-10-31 16:40:16 -0400
commit7357f92a3ef1faff0ce85f55f3c5a7f4dc820eaa (patch)
tree4450ef7338aa00abb5dd3182e2e85795907941ad /src/backend/access/transam/clog.c
parent50939443118613d3ae072d900c1e97f64722e07c (diff)
Stop btree indexscans upon reaching nulls in either direction.
The existing scan-direction-sensitive tests were overly complex, and failed to stop the scan in cases where it's perfectly legitimate to do so. Per bug #6278 from Maksym Boguk. Back-patch to 8.3, which is as far back as the patch applies easily. Doesn't seem worth sweating over a relatively minor performance issue in 8.2 at this late date. (But note that this was a performance regression from 8.1 and before, so 8.2 is being left as an outlier.)
Diffstat (limited to 'src/backend/access/transam/clog.c')
0 files changed, 0 insertions, 0 deletions