postgresql/src/backend/access
Peter Geoghegan 76a39f2295 Fix nbtree high key "continuescan" row compare bug.
Commit 29b64d1d mishandled skipping over truncated high key attributes
during row comparisons.  The row comparison key matching loop would loop
forever when a truncated attribute was encountered for a row compare
subkey.  Fix by following the example of other code in the loop: advance
the current subkey, or break out of the loop when the last subkey is
reached.

Add test coverage for the relevant _bt_check_rowcompare() code path.
The new test case is somewhat tied to nbtree implementation details,
which isn't ideal, but seems unavoidable.
2019-03-31 17:24:04 -07:00
..
brin tableam: Support for an index build's initial table scan(s). 2019-03-27 19:59:06 -07:00
common Generated columns 2019-03-30 08:15:57 +01:00
gin tableam: Support for an index build's initial table scan(s). 2019-03-27 19:59:06 -07:00
gist tableam: Support for an index build's initial table scan(s). 2019-03-27 19:59:06 -07:00
hash tableam: Support for an index build's initial table scan(s). 2019-03-27 19:59:06 -07:00
heap Skip redundant anti-wraparound vacuums 2019-03-31 22:59:12 +09:00
index Compute XID horizon for page level index vacuum on primary. 2019-03-26 16:52:54 -07:00
nbtree Fix nbtree high key "continuescan" row compare bug. 2019-03-31 17:24:04 -07:00
rmgrdesc Add basic infrastructure for 64 bit transaction IDs. 2019-03-28 18:12:20 +13:00
spgist tableam: Support for an index build's initial table scan(s). 2019-03-27 19:59:06 -07:00
table tableam: Add helper for indexes to check if a corresponding table tuples exist. 2019-03-25 16:52:55 -07:00
tablesample tableam: Add and use scan APIs. 2019-03-11 12:46:41 -07:00
transam Warn more strongly about the dangers of exclusive backup mode. 2019-03-29 08:15:16 -04:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00