pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Dmitry Koval <d.koval@postgrespro.ru>
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17815: Server crashes on executing gist_page_items() in pageinspect extension
Date: Wed, 1 Mar 2023 20:01:33 +0900
Message-ID: <Y/8wjemQkxJvvBWS@paquier.xyz> (raw)
In-Reply-To: <38ce17fb-37d8-252b-f11d-a8fcec944086@postgrespro.ru>
References: <17815-fc4a2d3b74705703@postgresql.org>
	<38ce17fb-37d8-252b-f11d-a8fcec944086@postgrespro.ru>

On Wed, Mar 01, 2023 at 12:31:47PM +0300, Dmitry Koval wrote:
> Attached fix for "master" branch.

SELECT gist_page_items(get_raw_page('test_gist_btree', 0), 'test_gist_idx');

So you have been mixing more than one index AM type to trigger that,
and the second argument fails already if we don't pass down a gist
index.

gist.sql has some coverage, but not for a combination like that.  Like
the recent things done in this area, well, I don't see why this one
could not be plugged as well..  I'll see into it.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (6+ messages)  latest in thread

Message-ID: <Y/8wjemQkxJvvBWS@paquier.xyz>
Permalink:  ../Y%2F8wjemQkxJvvBWS@paquier.xyz/
Also on:    postgresql.org/message-id/Y/8wjemQkxJvvBWS@paquier.xyz

 · 

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: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, d.koval@postgrespro.ru, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17815: Server crashes on executing gist_page_items() in pageinspect extension
  In-Reply-To: <Y/8wjemQkxJvvBWS@paquier.xyz>

* 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