[BUGS] function jsonb_pretty only outputs first character of result - Mailing list pgsql-bugs

From Martin Jonsson
Subject [BUGS] function jsonb_pretty only outputs first character of result
Date
Msg-id 1519203186.1262505.1500125561024@mail.yahoo.com
Whole thread Raw
Responses Re: [BUGS] function jsonb_pretty only outputs first character of result  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-bugs
Hello.

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.
 

Many thanks

Martin Jonsson


-- 
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 by date:

Previous
From: basil.bourque@gmail.com
Date:
Subject: [BUGS] BUG #14744: Uninstaller failed to remove saved password for pgAdmin 4.
Next
From: Tom Lane
Date:
Subject: Re: [BUGS] function jsonb_pretty only outputs first character of result