Re: nbtree: assertion failure in _bt_killitems() for posting tuple

Peter Geoghegan <pg@bowt.ie>

From: Peter Geoghegan <pg@bowt.ie>
To: Anastasia Lubennikova <a.lubennikova@postgrespro.ru>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2020-04-06T21:47:38Z
Lists: pgsql-hackers
On Sun, Apr 5, 2020 at 5:15 PM Peter Geoghegan <pg@bowt.ie> wrote:
> I am thinking about pushing a fix along the lines of the attached
> patch. This preserves the assertion, while avoiding the check in cases
> where it doesn't apply, such as when a dirty snapshot is in use.

Pushed. Thanks.

-- 
Peter Geoghegan



Commits

  1. Fix nbtree kill_prior_tuple posting list assert.

  2. Reduce pinning and buffer content locking for btree scans.