Re: Improper use about DatumGetInt32

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Improper use about DatumGetInt32
Дата
Msg-id X/wHplzASbVyTwIx@paquier.xyz
обсуждение исходный текст
Ответ на Re: Improper use about DatumGetInt32  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Improper use about DatumGetInt32  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On Sat, Jan 09, 2021 at 01:41:39PM +0100, Peter Eisentraut wrote:
> If we had a way to do such testing then we wouldn't need these markers. But
> AFAICT, we don't.

Not sure I am following your point here.  Taking your patch, it is
possible to trigger the version of get_raw_page() <= 1.8 just with
something like the following:
create extension pageinspect version "1.8";
select get_raw_page('pg_class', 0);

There are no in-core regression tests that check the compatibility of
extensions with older versions, but it is technically possible to do
so.
--
Michael

Вложения

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

Предыдущее
От: japin
Дата:
Сообщение: Re: Added schema level support for publication.
Следующее
От: Bharath Rupireddy
Дата:
Сообщение: Re: Added schema level support for publication.