Re: BUG #19909: BRIN redo: BufferIsPinned assert in brin_xlog_insert_update() if index was dropped or truncated

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: shihao zhong <zhong950419(at)gmail(dot)com>
Cc: hackerzheng666(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #19909: BRIN redo: BufferIsPinned assert in brin_xlog_insert_update() if index was dropped or truncated
Date: 2026-11-30 08:17:12
Message-ID: aw0xB49ymzrreR3X@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Sun, Nov 29, 2026 at 11:21:23PM -0500, shihao zhong wrote:
> It is more than an assertion. On macOS arm64, non-assert builds of 16
> through 19 fail with SIGBUS in recovery and cannot start.

One would be in his/her right mind if using fpw=off, but well..

> Attached is the fix you suggested, and it applies to 15 through 19 as
> is.

Makes sense to me, so fixed this way down to v15.

It looks like we don't have other similar holes, as far as I have
checked.
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2026-11-30 08:21:24 Re: BUG #19941: Acknowledged INSERT lost after a simple Query inside an extended-protocol batch (XX000)
Previous Message Henson Choi 2026-11-30 07:29:13 Re: BUG #19911: Window aggregate over ROWS n FOLLOWING: "unexpected end of tuplestore" after spill