Re: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: 王海洋 <wanghaiyang(dot)001(at)bytedance(dot)com>
Cc: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: [External] Re: [PATCH] BUG FIX: inconsistent page found in BRIN_REGULAR_PAGE
Date: 2022-08-05 13:17:31
Message-ID: 20220805131731.jhtscj2tonbglxz6@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 2022-Aug-04, 王海洋 wrote:

> Thanks, I agree. So my new modified patch is attached.

I propose the attached. This also adds a new TAP test that runs BRIN
through a revmap extension and through wal_consistency_checking. This
increases coverage, as currently there's none for brin_evacuate_page.

--
Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/
"Every machine is a smoke machine if you operate it wrong enough."
https://twitter.com/libseybieda/status/1541673325781196801

Attachment Content-Type Size
v3-0001-add-test.patch text/x-diff 3.4 KB
v3-0002-BRIN-mask-BRIN_EVACUATE_PAGE-for-WAL-consistency-.patch text/x-diff 2.2 KB

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2022-08-05 13:52:42 Re: BUG #17575: row(NULL) IS NULL inconsistent with IS NOT DISTINCT FROM NULL
Previous Message PG Bug reporting form 2022-08-05 12:33:21 BUG #17575: row(NULL) IS NULL inconsistent with IS NOT DISTINCT FROM NULL