Re: [HACKERS] [PATCH] Implement json_array_elements_text

2014-01-28 Thread Andrew Dunstan
On 01/20/2014 10:34 PM, Andrew Dunstan wrote: On 01/20/2014 09:58 PM, Laurence Rowe wrote: Following the discussion on pgsql-general, I thought I'd have a go implementing json_array_elements_text following the same pattern as json_each_text. The function makes it possible to join elements of a

Re: [HACKERS] [PATCH] Implement json_array_elements_text

2014-01-20 Thread Laurence Rowe
On 20 January 2014 18:58, Laurence Rowe wrote: > Following the discussion on pgsql-general, I thought I'd have a go > implementing json_array_elements_text following the same pattern as > json_each_text. > This updated patch makes the return type of ``json_array_elements_text`` text rather than

Re: [HACKERS] [PATCH] Implement json_array_elements_text

2014-01-20 Thread Andrew Dunstan
On 01/20/2014 09:58 PM, Laurence Rowe wrote: Following the discussion on pgsql-general, I thought I'd have a go implementing json_array_elements_text following the same pattern as json_each_text. The function makes it possible to join elements of a json array onto a table, Can we sneak this ve