Re: json generation enhancements

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: json generation enhancements
Дата
Msg-id 512AA361.1030904@2ndquadrant.com
обсуждение исходный текст
Ответ на Re: json generation enhancements  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: json generation enhancements  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
On 02/24/2013 09:58 PM, Andrew Dunstan wrote:
>
> Adding a cast to json for a builtin type will have no effect unless
> you also change this code. We can relax that but my view was that we
> should know how to generate JSON from builtin types and just do it.
If json generation from built-in types is complete with full coverage of
all useful types when this first ships, then I'm happy. I was only
concerned about the BC argument "you can't add a proper json-aware cast
from interval to json because we've already been doing it via a cast to
text and changing the result would break existing code".

That's all I'm worried about, and if that won't be an issue then I'm
perfectly happy.

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Show type in psql SELECT
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Show type in psql SELECT