Re: BUG #19082: Failing assert in index scan

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Matthijs van der Vleuten <postgresql@zr40.nl>
Cc: pgsql-bugs@lists.postgresql.org
Date: 2025-10-10T18:10:51Z
Lists: pgsql-bugs

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Remove overzealous _bt_killitems assertion.

  2. Make _bt_killitems drop pins it acquired itself.

On Fri, Oct 10, 2025 at 1:09 PM Matthijs van der Vleuten
<postgresql@zr40.nl> wrote:
> No, the index columns aren't declared as DESC, and, as far as I've been able to verify, the query plan doesn't use backward scans.
>
> I've isolated one particular row that triggers this assert. It's a different table but it fails the assertion the same way.

Are you using wal_level = minimal, then?

-- 
Peter Geoghegan