Re: json/jsonb inconsistence - 2

Поиск
Список
Период
Сортировка
От Teodor Sigaev
Тема Re: json/jsonb inconsistence - 2
Дата
Msg-id 538764F6.6090400@sigaev.ru
обсуждение исходный текст
Ответ на Re: json/jsonb inconsistence - 2  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
> Actually, this is just the tip of the iceberg.


Funny, but
postgres=# select '\u0000'::text;  text
-------- \u0000
(1 row)

postgres=# select array['\u0000']::text[];    array
------------- {"\\u0000"}

postgres=# select '{"\u0000"}'::text[];  text
--------- {u0000}

postgres=# select '{"\\u0000"}'::text[];    text
------------- {"\\u0000"}

&%) I'm crazy about that. Suppose, we shouldn't worry about array type, 
just make output the same for json/jsonb
-- 
Teodor Sigaev                      E-mail: teodor@sigaev.ru                                      WWW:
http://www.sigaev.ru/



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

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Fix bogus %name-prefix option syntax in all our Bison files.
Следующее
От: Josh Kupershmidt
Дата:
Сообщение: Re: Odd uuid-ossp behavior on smew and shearwater