Re: Add Boolean node

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Add Boolean node
Дата
Msg-id CAFj8pRBFAO=MAqrV2rH=OAVJM0gHJ-NQQt-sjmPAX5fmS=KaAw@mail.gmail.com
обсуждение исходный текст
Ответ на Add Boolean node  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Ответы Re: Add Boolean node  (Sascha Kuhl <yogidabanli@gmail.com>)
Re: Add Boolean node  (Julien Rouhaud <rjuju123@gmail.com>)
Список pgsql-hackers


po 27. 12. 2021 v 10:02 odesílatel Peter Eisentraut <peter.eisentraut@enterprisedb.com> napsal:

This patch adds a new node type Boolean, to go alongside the "value"
nodes Integer, Float, String, etc.  This seems appropriate given that
Boolean values are a fundamental part of the system and are used a lot.

Before, SQL-level Boolean constants were represented by a string with
a cast, and internal Boolean values in DDL commands were usually
represented by Integer nodes.  This takes the place of both of these
uses, making the intent clearer and having some amount of type safety.

+1

Regards

Pavel

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Add Boolean node
Следующее
От: wenjing zeng
Дата:
Сообщение: why does reindex invalidate relcache without modifying system tables