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

From Peter Eisentraut
Subject Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?
Date
Msg-id 1336208775.13755.5.camel@vanquo.pezone.net
Whole thread Raw
In response to Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
On fre, 2012-05-04 at 13:43 -0400, Robert Haas wrote:
> For this particular case, I think you just need some place to store a
> pg_type -> pg_proc mapping.  I'm not exactly sure how to make that not
> a JSON-specific hack, since I certainly don't think we'd want to add a
> new catalog just for that.

I think you're thinking of pg_cast.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: remove dead ports?
Next
From: Peter Eisentraut
Date:
Subject: Re: JSON in 9.2 - Could we have just one to_json() function instead of two separate versions ?