Re: additional json functionality

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: additional json functionality
Дата
Msg-id C4D17E63-F7BD-4A3F-9B29-AE28788EC8B4@justatheory.com
обсуждение исходный текст
Ответ на Re: additional json functionality  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: additional json functionality  (Garick Hamlin <ghamlin@isc.upenn.edu>)
Список pgsql-hackers
On Nov 13, 2013, at 4:45 PM, Andrew Dunstan <andrew@dunslane.net> wrote:

>> 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
stufforder will be destroyed and not stored anywhere, and duplicate keys will be lost. Once that's done, how would a
prettyprint option restore the lost info? 

I meant ordering the keys, usually in lexicographic order. I agree that preserving order is untenable.

Best,

David


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: additional json functionality
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: [PATCH] pg_basebackup: progress report max once per second