one null value in array isnt allowed???

Поиск
Список
Период
Сортировка
От Armand Turpel
Тема one null value in array isnt allowed???
Дата
Msg-id 4BB081B9.1000603@mnhn.lu
обсуждение исходный текст
Ответы Re: one null value in array isnt allowed???  ("Wappler, Robert" <rwappler@ophardt.com>)
Список pgsql-general
Hi,

Updating an array field with one null value isnt possible:

UPDATE table SET integer_array = ARRAY[NULL]

But those queries are working:

UPDATE table SET integer_array = ARRAY[NULL,1]
UPDATE table SET integer_array = ARRAY[1,NULL]

This dosent seems logical to me.
Is it a bug?

Thanks for helping,
atu

#####################################################################################
Scanned by MailMarshal - Marshal's comprehensive email content security solution.
#####################################################################################

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

Предыдущее
От: Ognjen Blagojevic
Дата:
Сообщение: Re: need a query
Следующее
От: "Wappler, Robert"
Дата:
Сообщение: Re: one null value in array isnt allowed???