diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-31 16:40:27 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2011-10-31 16:40:27 -0400 |
commit | ff41611ddcce36b8f87b73c65b78d8f71a157302 (patch) | |
tree | 19b1e3fda9833b2f68814e20ae665626ea84a0f5 /src/backend/access/gist/gistget.c | |
parent | b52ca458e9763442a0ece483c0529d50344557aa (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/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions