function jsonb_pretty only outputs first character of result

From: Martin Jonsson <martinerikjonsson(at)yahoo(dot)fr>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: function jsonb_pretty only outputs first character of result
Date: 2017-07-15 13:32:40
Message-ID: 1519203186.1262505.1500125561024@mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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 the first character.

Many thanks

Martin Jonsson

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2017-07-15 14:39:04 Re: function jsonb_pretty only outputs first character of result
Previous Message basil.bourque 2017-07-14 21:50:33 BUG #14744: Uninstaller failed to remove saved password for pgAdmin 4.