NULLs in array_cat vs array || array

Поиск
Список
Период
Сортировка
От Thom Brown
Тема NULLs in array_cat vs array || array
Дата
Msg-id AANLkTikeJMQY9aELpbQVWPqoeToDnGi6uW3=F8cm_D6G@mail.gmail.com
обсуждение исходный текст
Ответы Re: NULLs in array_cat vs array || array  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
Re: NULLs in array_cat vs array || array  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi all,

I assumed array_cat would behave similarly to array || array, but it
appears not when it comes to NULLs.  Shouldn't these have identical
functionality?  The attached patch makes it so, although it would
break existing code.

Would such a change have any knock-on effect, or cause inconsistency
with other functions?

Thanks

Thom

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935

Вложения

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

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: Re: FOR KEY LOCK foreign keys
Следующее
От: Cédric Villemain
Дата:
Сообщение: Re: NULLs in array_cat vs array || array