Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?
Date
Msg-id 7677.1336150582@sss.pgh.pa.us
Whole thread Raw
In response to Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?  (Andrew Dunstan <andrew@dunslane.net>)
Responses Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?
List pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yeah, what I've been thinking about in conjunction with similar problems 
> is some sort of type registry, so that we could code for non-builtin 
> types in certain cases. Maybe we should add that the the developers' 
> meeting agenda.

Maybe.  I don't want to see a json-specific hack for this, but some sort
of generic way to add type knowledge could be useful, if we could figure
out what we want.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Armando
Date:
Subject: c-function variants running time
Next
From: Tom Lane
Date:
Subject: Re: Beta time?