diff options
author | Peter Geoghegan <pg@bowt.ie> | 2019-09-09 11:41:19 -0700 |
---|---|---|
committer | Peter Geoghegan <pg@bowt.ie> | 2019-09-09 11:41:19 -0700 |
commit | 55d015bde05311cbaaf16424e3aa05c37946cd8a (patch) | |
tree | 38bbe5d561bdfb6a3f5fb9b634ecf9e886c98502 /src/backend/commands/async.c | |
parent | 3146f5257f16d34c95163974f42a13d99141b977 (diff) | |
download | postgresql-55d015bde05311cbaaf16424e3aa05c37946cd8a.tar.gz postgresql-55d015bde05311cbaaf16424e3aa05c37946cd8a.zip |
Add _bt_binsrch() scantid assertion to nbtree.
Assert that _bt_binsrch() binary searches with scantid set in insertion
scankey cannot be performed on leaf pages. Leaf-level binary searches
where scantid is set must use _bt_binsrch_insert() instead.
_bt_binsrch_insert() is likely to have additional responsibilities in
the future, such as searching within GIN-style posting lists using
scantid. It seems like a good idea to tighten things up now.
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions