Re: [BUGS] function jsonb_pretty only outputs first character of result
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: [BUGS] function jsonb_pretty only outputs first character of result |
| Дата | |
| Msg-id | 10732.1500129544@sss.pgh.pa.us обсуждение |
| Ответ на | [BUGS] function jsonb_pretty only outputs first character of result (Martin Jonsson <martinerikjonsson@yahoo.fr>) |
| Список | pgsql-bugs |
Martin Jonsson <martinerikjonsson@yahoo.fr> writes:
> On postgres 9.6.3 (current ubuntu release) using the jsonb_pretty function as in the documentation:
> "select jsonb_pretty('[{"f1":1,"f2":null},2,null,3]')" does only give output "[". it seems the function only outputs
thefirst character.
Hm, I get:
regression=# select jsonb_pretty('[{"f1":1,"f2":null},2,null,3]'); jsonb_pretty
--------------------[ + { + "f1": 1, + "f2": null+ }, +
2, + null, + 3 +]
(1 row)
Perhaps you were testing it with something that only showed you the first
line of the result text?
regards, tom lane
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера