Re: automatically generating node support functions

Поиск
Список
Период
Сортировка
Искать
От
Andres Freund
Тема
Re: automatically generating node support functions
Дата
Msg-id
20220711182915.jd2ibajdcbncqdqd@awork3.anarazel.de
Ответ на
Список
Дерево обсуждения
automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Andrew Dunstan <andrew@dunslane.net>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: automatically generating node support functions David Rowley <dgrowleyml@gmail.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Alvaro Herrera <alvherre@alvh.no-ip.org>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Amit Kapila <amit.kapila16@gmail.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Amit Kapila <amit.kapila16@gmail.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Amit Kapila <amit.kapila16@gmail.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Amit Kapila <amit.kapila16@gmail.com>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Robert Haas <robertmhaas@gmail.com>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Robert Haas <robertmhaas@gmail.com>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Corey Huinker <corey.huinker@gmail.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Jacob Champion <pchampion@vmware.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Noah Misch <noah@leadboat.com>
Re: automatically generating node support functions David Rowley <dgrowleyml@gmail.com>
Re: automatically generating node support functions Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Re: automatically generating node support functions Tom Lane <tgl@sss.pgh.pa.us>
Re: automatically generating node support functions Andres Freund <andres@anarazel.de>
Hi,

On 2022-07-11 13:57:38 -0400, Tom Lane wrote:
> More generally, I'm having second thoughts about the wisdom of
> auto-generating the NodeTag enum at all.  With the current setup,
> I am absolutely petrified about the risk of silent ABI breakage
> thanks to the enum order changing.  In particular, if the meson
> build fails to use the same input-file order as the makefile build,
> then we will get different enum orders from the two builds, causing
> an ABI discrepancy that nobody would notice until we had catastrophic
> extension-compatibility issues in the field.

Ugh, yes. And it already exists due to Solution.pm, although that's perhaps
less likely to be encountered "in the wild".

Additionally, I think we've had to add tags to the enum in minor releases
before and I'm afraid this now would end up looking even more awkward?


> Of course, sorting the tags by name is a simple way to fix that.
> But I'm not sure I want to buy into being forced to do it like that,
> because of the switch-density question.
> 
> So at this point I'm rather attracted to the idea of reverting to
> a manually-maintained NodeTag enum.

+0.5 - there might be a better solution to this, but I'm not immediately
seeing it.

Greetings,

Andres Freund


В списке pgsql-hackers по дате отправления
От: Bruce Momjian
Дата:
От: Daniel Gustafsson
Дата:
Сообщение: Re: Commitfest Update
FAQ