public inbox for [email protected]
help / color / mirror / Atom feedFrom: Tom Lane <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: Re: BUG #19496: Assert("ItemPointerIsValid(pointer)") when using pageinspect
Date: Wed, 27 May 2026 09:57:37 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>
PG Bug reporting form <[email protected]> writes:
> I found an assertion failure in pageinspect.
> SQL:
> CREATE EXTENSION IF NOT EXISTS pageinspect;
> WITH page AS (
> SELECT set_byte(
> set_byte(
> set_byte(
> set_byte(
> set_byte(
> set_byte(
> set_byte(
> set_byte(decode(repeat('00', 8192), 'hex'),
> 12, 40),
> 14, 248),
> 15, 31),
> 16, 248),
> 17, 31),
> 18, 4),
> 19, 32),
> 8190, 131) AS p
> )
> SELECT * FROM gin_leafpage_items((SELECT p FROM page));
Does that WITH actually construct a valid GIN page image?
I don't think we make any guarantee that pageinspect
won't crash on bad data.
regards, tom lane
view thread (2+ messages)
reply
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: [email protected]
Cc: [email protected], [email protected], [email protected]
Subject: Re: BUG #19496: Assert("ItemPointerIsValid(pointer)") when using pageinspect
In-Reply-To: <[email protected]>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox