RE: Fix for pageinspect bug in PG 17

Поиск
Список
Период
Сортировка
От Hayato Kuroda (Fujitsu)
Тема RE: Fix for pageinspect bug in PG 17
Дата
Msg-id TYAPR01MB5692A621179C18A8FDB3AE60F55B2@TYAPR01MB5692.jpnprd01.prod.outlook.com
обсуждение исходный текст
Ответ на Re: Fix for pageinspect bug in PG 17  (Tomas Vondra <tomas@vondra.me>)
Ответы Re: Fix for pageinspect bug in PG 17
Список pgsql-hackers
Dear Tomas,

Thanks for updating the patch.

I've tested new patch and confirmed the brin_pgage_items() could error out:

```
postgres=# SELECT * FROM brin_page_items(get_raw_page('foo_id_idx', 2), 'foo_id_idx');
ERROR:  function has wrong number of declared columns
HINT:  To resolve the problem, update the "pageinspect" extension to the latest version.
```

I also do not have strong opinions for both approaches.
If I had to say... it's OK to do error out. The source becomes simpler and I cannot
find use-case that user strongly wants to use the older pageinspect extension.

Best regards,
Hayato Kuroda
FUJITSU LIMITED


В списке pgsql-hackers по дате отправления: