Re: PostgreSQL 12, JIT defaults

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PostgreSQL 12, JIT defaults
Дата
Msg-id 28382.1539020509@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PostgreSQL 12, JIT defaults  (Andres Freund <andres@anarazel.de>)
Список pgsql-hackers
Andres Freund <andres@anarazel.de> writes:
>> I am thinking so simple number should be good enough. We can require
>> equality - Just I need a signal so some is wrong - better than Postgres
>> crash.

> It'd cause constant conflicts and / or we would regularly forget updating it. It's not that trivial to determine what
influencesABI compatibility. 

There already is a PG major-version-number check embedded in the
PG_MODULE_MAGIC infrastructure, which is plenty for regular users.
It's not sufficient for developers working with HEAD, of course.

We could consider making that work off of catversion instead, but I don't
think it'd really improve matters to do so.  catversion doesn't cover most
of what can break loadable modules, such as changes of Node data
structures.

            regards, tom lane



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

Предыдущее
От: Laurenz Albe
Дата:
Сообщение: Re: Function to promote standby servers
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: PostgreSQL 12, JIT defaults