Re: JSON row_to_json_array

From: Luca Ferrari <fluca1978(at)infinito(dot)it>
To: Tjibbe R <tjibbe(at)rijpma(dot)org>
Cc: "pgsql-novice(at)postgresql(dot)org" <pgsql-novice(at)postgresql(dot)org>
Subject: Re: JSON row_to_json_array
Date: 2013-09-23 12:09:44
Message-ID: CAKoxK+47sZ_oL8PA1gpfNe9xmOkbfCH8m9rVFUQUTcozTrch+A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Mon, Sep 23, 2013 at 10:26 AM, Tjibbe R <tjibbe(at)rijpma(dot)org> wrote:
> Yes it would be a simple array, but it costs a lot of coding. Because every
> item in the array need to be inserted in the function to_json().
>

Maybe looping with json_each could simplify the solution?

Luca

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Merlin Moncure 2013-09-23 13:49:46 Re: JSON row_to_json_array
Previous Message Tjibbe R 2013-09-23 08:26:03 Re: JSON row_to_json_array