Re: JSON for PG 9.2

Pavel Stehule <pavel.stehule@gmail.com>

From: Pavel Stehule <pavel.stehule@gmail.com>
To: Merlin Moncure <mmoncure@gmail.com>
Cc: Andrew Dunstan <andrew@dunslane.net>, Joey Adams <joeyadams3.14159@gmail.com>, Robert Haas <robertmhaas@gmail.com>, "David E. Wheeler" <david@kineticode.com>, Claes Jakobsson <claes@surfar.nu>, Dimitri Fontaine <dimitri@2ndquadrant.fr>, Magnus Hagander <magnus@hagander.net>, Jan Urbański <wulczer@wulczer.org>, Simon Riggs <simon@2ndquadrant.com>, Bruce Momjian <bruce@momjian.us>, PostgreSQL-development Hackers <pgsql-hackers@postgresql.org>, Jan Wieck <janwieck@yahoo.com>
Date: 2012-01-23T22:33:21Z
Lists: pgsql-hackers
2012/1/23 Merlin Moncure <mmoncure@gmail.com>:
> On Sun, Jan 15, 2012 at 10:08 AM, Andrew Dunstan <andrew@dunslane.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?

-1

older proposal is more consistent with xml functions

Pavel

>
> merlin