Re: additional json functionality

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: additional json functionality
Дата
Msg-id 52841D26.5040507@dunslane.net
обсуждение исходный текст
Ответ на Re: additional json functionality  ("David E. Wheeler" <david@justatheory.com>)
Ответы Re: additional json functionality  ("David E. Wheeler" <david@justatheory.com>)
Список pgsql-hackers
On 11/13/2013 07:39 PM, David E. Wheeler wrote:
> On Nov 13, 2013, at 2:41 PM, Gavin Flower <GavinFlower@archidevsys.co.nz> wrote:
>
>> Would be possible to have a boolean, such as 'strict' - so that unique & ordered was only imposed when strict was
TRUE?Alternately, separate functions to allow the same choice?
 
> It should be a pretty-printing function option, perhaps, but not core to the type itself, IMO.


I don't in the least understand how it could be a pretty printing 
option. If we move to a binary rep using the hstore stuff order will be 
destroyed and not stored anywhere, and duplicate keys will be lost. Once 
that's done, how would a pretty print option restore the lost info?

cheers

andrew



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

Предыдущее
От: Tatsuo Ishii
Дата:
Сообщение: Re: UTF8 national character data type support WIP patch and list of open issues.
Следующее
От: "David E. Wheeler"
Дата:
Сообщение: Re: additional json functionality