Re: bug or feature, || -operator and NULLs

Поиск
Список
Период
Сортировка
От Lukas Kahwe Smith
Тема Re: bug or feature, || -operator and NULLs
Дата
Msg-id 45362172.3060101@pooteeweet.org
обсуждение исходный текст
Ответ на Re: bug or feature, || -operator and NULLs  (Martijn van Oosterhout <kleptog@svana.org>)
Список pgsql-hackers
Martijn van Oosterhout wrote:

> By following your suggestion we would get the following oddity:
> 
> SELECT NULL = '', NULL || 'fisk' = '' || 'fisk';
> 
> We would return NULL for the first and true for the second. Surely
> that's not logical?

The problem is really that Oracle does not differntiate properly between 
'' and NULL.

regards,
Lukas


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

Предыдущее
От: Csaba Nagy
Дата:
Сообщение: Re: bug or feature, || -operator and NULLs
Следующее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: +1400 is a valid time zone offset