Re: About adding a new filed to a struct in primnodes.h

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: About adding a new filed to a struct in primnodes.h
Дата
Msg-id 389762.1606268406@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: About adding a new filed to a struct in primnodes.h  (Andy Fan <zhihui.fan1213@gmail.com>)
Ответы Re: About adding a new filed to a struct in primnodes.h
Список pgsql-hackers
Andy Fan <zhihui.fan1213@gmail.com> writes:
> What I mean here is something like below.

What exactly would be the value of that?

There is work afoot, or at least on people's to-do lists, to mechanize
creation of the outfuncs/readfuncs/etc code directly from the Node
struct declarations.  So special cases for particular fields are going
to be looked on with great disfavor, even if you can make a case that
there's some reason to do it.  (Which I'm not seeing.  We've certainly
never had to do it in the past.)

            regards, tom lane



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

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: Keep elog(ERROR) and ereport(ERROR) calls in the cold path
Следующее
От: Tomas Vondra
Дата:
Сообщение: Re: [PoC] Non-volatile WAL buffer