Re: JSON for PG 9.2

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>, Joey Adams <joeyadams3(dot)14159(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Claes Jakobsson <claes(at)surfar(dot)nu>, Dimitri Fontaine <dimitri(at)2ndquadrant(dot)fr>, Magnus Hagander <magnus(at)hagander(dot)net>, Jan Urbański <wulczer(at)wulczer(dot)org>, Simon Riggs <simon(at)2ndquadrant(dot)com>, Bruce Momjian <bruce(at)momjian(dot)us>, PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>, Jan Wieck <janwieck(at)yahoo(dot)com>
Subject: Re: JSON for PG 9.2
Date: 2012-01-23 22:32:24
Message-ID: 4F1DDFF8.1000601@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 01/23/2012 05:21 PM, Merlin Moncure wrote:
> On Sun, Jan 15, 2012 at 10:08 AM, Andrew Dunstan<andrew(at)dunslane(dot)net> wrote:
>> Here's an update that adds row_to_json, plus a bit more cleanup.
> why not call all these functions 'to_json' and overload them?
>

I don't honestly feel that advances clarity much. And we might want to
overload each at some stage with options that are specific to the datum
type. We have various foo_to_xml() functions now.

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Pavel Stehule 2012-01-23 22:33:21 Re: JSON for PG 9.2
Previous Message Dominik Bylica 2012-01-23 22:28:39 Psql names completion.