How to set array element to null value

Поиск
Список
Период
Сортировка
От Brahmam Eswar
Тема How to set array element to null value
Дата
Msg-id CA+wLFo03Wp6sg8xWp+FyCFKW+5ec3kJ8uVz_Y3akEKyF5nRO4w@mail.gmail.com
обсуждение исходный текст
Ответы Re: How to set array element to null value  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: How to set array element to null value  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: How to set array element to null value  (Thomas Kellerer <spam_eater@gmx.net>)
Re: How to set array element to null value  (David Fetter <david@fetter.org>)
Re: How to set array element to null value  (David Fetter <david@fetter.org>)
Список pgsql-general
I'm trying to reset array element to null. but 3rd line of below snippet is giving the compilation error.


FOR indx_1 IN array_lower(X, 1)..array_upper(X, 1) LOOP
IF X[indx_1].REFERENCE_VALUE = 'ABC' THEN
X[indx_1].REFERENCE_VALUE:='';
END IF;
END LOOP;

--
Thanks & Regards,
Brahmeswara Rao J.

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

Предыдущее
От: Łukasz Jarych
Дата:
Сообщение: Re: Cloning schemas
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: How to set array element to null value