Re: Add Boolean node

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Add Boolean node
Дата
Msg-id 20211229203211.do254h4lvp3gruqc@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Add Boolean node  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Add Boolean node  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Add Boolean node  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
On 2021-12-27 09:53:32 -0500, Tom Lane wrote:
> Didn't really read the patch in any detail, but I did have one idea:
> I think that the different things-that-used-to-be-Value-nodes ought to
> use different field names, say ival, rval, bval, sval not just "val".
> That makes it more likely that you'd catch any code that is doing the
> wrong thing and not going through one of the access macros.

If we go around changing all these places, it might be worth to also change
Integer to be a int64 instead of an int.



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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: Strange path from pgarch_readyXlog()
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Add Boolean node