Add Boolean node

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Add Boolean node
Дата
Msg-id 8c1a2e37-c68d-703c-5a83-7a6077f4f997@enterprisedb.com
обсуждение исходный текст
Ответы Re: Add Boolean node  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Add Boolean node  (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>)
Re: Add Boolean node  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Re: Add Boolean node  (Andres Freund <andres@anarazel.de>)
Re: Add Boolean node  (Peter Eisentraut <peter.eisentraut@enterprisedb.com>)
Список pgsql-hackers
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.
Вложения

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

Предыдущее
От: "Joel Jacobson"
Дата:
Сообщение: Re: Foreign key joins revisited
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Add Boolean node