Re: [BUG] Error in BRIN summarization

Anastasia Lubennikova <a.lubennikova@postgrespro.ru>

From: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
To: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-08-13T10:06:18Z
Lists: pgsql-hackers
On 12.08.2020 22:58, Alvaro Herrera wrote:
> On 2020-Aug-12, Alvaro Herrera wrote:
>
>> 'anyvisible' mode is not required AFAICS; reading the code, I think this
>> could also hit REINDEX CONCURRENTLY and CREATE INDEX CONCURRENTLY, which
>> do not use that flag.  I didn't try to reproduce it there, though.
>> Anyway, I'm going to remove that Assert() I added.
> So this is what I propose as the final form of the fix.
>
Cool.
This version looks much simpler than mine and passes the tests fine.

-- 
Anastasia Lubennikova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company




Commits

  1. Disable autovacuum for BRIN test table

  2. Handle new HOT chains in index-build table scans

  3. BRIN: Handle concurrent desummarization properly