Re: BUG #17815: Server crashes on executing gist_page_items() in pageinspect extension

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Dmitry Koval <d(dot)koval(at)postgrespro(dot)ru>
Cc: pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #17815: Server crashes on executing gist_page_items() in pageinspect extension
Date: 2023-03-01 11:01:33
Message-ID: Y/8wjemQkxJvvBWS@paquier.xyz
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Felipe Die 2023-03-01 12:40:40 Gpg error with Postgresql aarch64 repo - PG14
Previous Message Dmitry Koval 2023-03-01 09:31:47 Re: BUG #17815: Server crashes on executing gist_page_items() in pageinspect extension