forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit55d015b
committed
Add _bt_binsrch() scantid assertion to nbtree.
Assert that _bt_binsrch() binary searches with scantid set in insertionscankey cannot be performed on leaf pages. Leaf-level binary searcheswhere scantid is set must use _bt_binsrch_insert() instead._bt_binsrch_insert() is likely to have additional responsibilities inthe future, such as searching within GIN-style posting lists usingscantid. It seems like a good idea to tighten things up now.1 parent3146f52 commit55d015b
1 file changed
+5
-3
lines changedLines changed: 5 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
347 | 347 |
| |
348 | 348 |
| |
349 | 349 |
| |
350 |
| - | |
351 |
| - | |
352 |
| - | |
353 | 350 |
| |
354 | 351 |
| |
355 | 352 |
| |
| 353 | + | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
| 357 | + | |
356 | 358 |
| |
357 | 359 |
| |
358 | 360 |
| |
|
0 commit comments
Comments
(0)