Jim Nasby <Jim(dot)Nasby(at)BlueTreble(dot)com> writes:
> On 9/7/16 2:02 PM, Merlin Moncure wrote:
>> We have that already, it's named 'json_each_text'
> Apparently you haven't looked at json parse/deparse costs ;P
Well, a PL function is gonna be none too cheap either.
Using something like JSON definitely has lots to recommend it --- eg, it
probably won't break when you find out your initial spec for the transport
format was too simplistic.
regards, tom lane