Add array_remove() and array_replace() functions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 84a42560c82aeb9f3690d93a0d03cf544f53b89b
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2012-07-11T17:59:35Z
Releases: 9.3.0
Add array_remove() and array_replace() functions.

These functions support removing or replacing array element value(s)
matching a given search value.  Although intended mainly to support a
future array-foreign-key feature, they seem useful in their own right.

Marco Nenciarini and Gabriele Bartolini, reviewed by Alex Hunsaker

Files