Re: NULL safe equality operator

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: NULL safe equality operator
Дата
Msg-id 22310.1132932315@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: NULL safe equality operator  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
Peter Eisentraut <peter_e@gmx.net> writes:
> Christopher Kings-Lynne wrote:
>> Needs to return 0 or 1 though.

> All Boolean operators in MySQL do that, so to create an illusion of 
> MySQL compatibility, you'd need to redefine all standard Boolean 
> operators.  I don't think you want that.

Wonder if making an implicit cast from bool to int would answer for
that.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: NULL safe equality operator
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Ipv6 and Postgresql 8.0.3