postgresql/src/backend/access
Alvaro Herrera 1f42d35a1d
BRIN: Handle concurrent desummarization properly
If a page range is desummarized at just the right time concurrently with
an index walk, BRIN would raise an error indicating index corruption.
This is scary and unhelpful; silently returning that the page range is
not summarized is sufficient reaction.

This bug was introduced by commit 975ad4e602 as additional protection
against a bug whose actual fix was elsewhere.  Backpatch equally.

Reported-By: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Diagnosed-By: Alexander Lakhin <exclusion@gmail.com>
Discussion: https://postgr.es/m/2588667e-d07d-7e10-74e2-7e1e46194491@postgrespro.ru
Backpatch: 9.5 - master
2020-08-12 15:33:36 -04:00
..
brin BRIN: Handle concurrent desummarization properly 2020-08-12 15:33:36 -04:00
common Move syncscan.c to src/backend/access/common. 2020-07-29 16:59:33 +12:00
gin Invent "amadjustmembers" AM method for validating opclass members. 2020-08-01 17:12:47 -04:00
gist Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
hash Invent "amadjustmembers" AM method for validating opclass members. 2020-08-01 17:12:47 -04:00
heap Implement streaming mode in ReorderBuffer. 2020-08-08 07:47:06 +05:30
index Implement streaming mode in ReorderBuffer. 2020-08-08 07:47:06 +05:30
nbtree Correct nbtree page split lock coupling comment. 2020-08-09 12:01:15 -07:00
rmgrdesc Rename VariableCacheData.nextFullXid to nextXid. 2020-08-11 12:07:14 -07:00
spgist Invent "amadjustmembers" AM method for validating opclass members. 2020-08-01 17:12:47 -04:00
table Implement streaming mode in ReorderBuffer. 2020-08-08 07:47:06 +05:30
tablesample Move src/backend/utils/hash/hashfn.c to src/common 2020-02-27 09:25:41 +05:30
transam Track latest completed xid as a FullTransactionId. 2020-08-11 17:41:18 -07:00
Makefile Introduce access/{table.h, relation.h}, for generic functions from heapam.h. 2019-01-21 10:51:36 -08:00