Re: Support for array_remove and array_replace functions - Mailing list pgsql-hackers

From Marco Nenciarini
Subject Re: Support for array_remove and array_replace functions
Date
Msg-id 4FEF6F7C.2060408@2ndquadrant.it
Whole thread Raw
In response to Re: Support for array_remove and array_replace functions  (Alex Hunsaker <badalex@gmail.com>)
Responses Re: Support for array_remove and array_replace functions
Re: Support for array_remove and array_replace functions
Re: Support for array_remove and array_replace functions
List 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

Attachment

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Pruning the TODO list
Next
From: Albert Vernon
Date:
Subject: Re: WIP: relation metapages