aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeSubplan.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2020-08-12 15:33:36 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2020-08-12 15:33:36 -0400
commit7af39993a47c56099e8cfea4191e7e686c7a6d0e (patch)
treee65f699c233cece1002bcf1f2776f010561293af /src/backend/executor/nodeSubplan.c
parent25180875cb90ef18e83ce45697a9a4d4686b552b (diff)
downloadpostgresql-7af39993a47c56099e8cfea4191e7e686c7a6d0e.tar.gz
postgresql-7af39993a47c56099e8cfea4191e7e686c7a6d0e.zip
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 975ad4e602ff 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
Diffstat (limited to 'src/backend/executor/nodeSubplan.c')
0 files changed, 0 insertions, 0 deletions