Re: proposal - get_extension_version function

Поиск
Список
Период
Сортировка
От Jacob Champion
Тема Re: proposal - get_extension_version function
Дата
Msg-id CAAWbhmhmFgaNVyAYa1A++ynW6RCC7AbV_7w3Bms934jxG0vkDw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal - get_extension_version function  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: proposal - get_extension_version function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Wed, Mar 8, 2023 at 1:47 PM Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Pavel's proposed check would break that too.  There's going to be some
> interval where the SQL definitions are not in sync with the .so version,
> so you really want the .so to support at least two versions' worth of
> SQL objects.

I think we're in agreement that the extension must be able to load
with SQL version X and binary version X+1. (Pavel too, if I'm reading
the argument correctly -- the proposal is to gate execution paths, not
init time. And Pavel's not the only one implementing that today.)

What I'm trying to pin down is the project's position on the reverse
-- binary version X and SQL version X+1 -- because that seems
generally unmaintainable, and I don't understand why an author would
pay that tax if they could just avoid it by bailing out entirely. (If
an author wants to allow that, great, but does everyone have to?)

--Jacob



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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: meson: Optionally disable installation of test modules
Следующее
От: Matthias van de Meent
Дата:
Сообщение: Re: Ignoring BRIN for HOT updates (was: -udpates seems broken)