Re: Support for array_remove and array_replace functions

Поиск
Список
Период
Сортировка
От Marco Nenciarini
Тема Re: Support for array_remove and array_replace functions
Дата
Msg-id 4FEF6F7C.2060408@2ndquadrant.it
обсуждение исходный текст
Ответ на Re: Support for array_remove and array_replace functions  (Alex Hunsaker <badalex@gmail.com>)
Ответы Re: Support for array_remove and array_replace functions  (Alex Hunsaker <badalex@gmail.com>)
Re: Support for array_remove and array_replace functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: Support for array_remove and array_replace functions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On 30/06/2012 04:16, Alex Hunsaker wrote:
>
> Hi, I've been reviewing this patch.
>
> Good documentation, and regression tests. The code looked fine but I
> didn't care for the code duplication between array_replace and
> array_remove so I merged those into a helper function,
> array_replace_internal(). Thoughts?

It looks reasonable.

There was a typo in array_replace which was caught by regression tests.
I've fixed the typo and changed a comment in array_replace_internal.

Patch v3 attached.

Regards,
Marco

--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.nenciarini@2ndQuadrant.it | www.2ndQuadrant.it

Вложения

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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Pruning the TODO list
Следующее
От: Albert Vernon
Дата:
Сообщение: Re: WIP: relation metapages