From: Peter Geoghegan <pg@bowt.ie>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: nbtree: assert no scheduled primscan between pages.
Date: Wed, 30 Oct 2024 19:53:41 +0000
Message-ID: <E1t6ElC-003C4u-24@gemulon.postgresql.org> (raw)
nbtree: assert no scheduled primscan between pages.
Follow-up to bugfix commit 763d65ae. Technically this new assertion is
redundant with the assertion recently added to _bt_readpage by that same
commit, but it seems like a good idea to have both.
The new assertion makes it clear that we expect to call _bt_readnextpage
when there's another primitive index scan scheduled, though only when
needed as the final step of ending the current primitive scan.
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/492e6b54c604c39ecf5ebc812849185b20c4b1b6
Modified Files
--------------
src/backend/access/nbtree/nbtsearch.c | 2 ++
1 file changed, 2 insertions(+)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: pg@bowt.ie, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: nbtree: assert no scheduled primscan between pages.
In-Reply-To: <E1t6ElC-003C4u-24@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox