From: Martin Jonsson <martinerikjonsson@yahoo.fr>
To: pgsql-bugs@postgresql.org
Subject: function jsonb_pretty only outputs first character of result
Date: Sat, 15 Jul 2017 13:32:40 +0000 (UTC)
Message-ID: <1519203186.1262505.1500125561024@mail.yahoo.com> (raw)
References: <1519203186.1262505.1500125561024.ref@mail.yahoo.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: martinerikjonsson@yahoo.fr
Subject: Re: function jsonb_pretty only outputs first character of result
In-Reply-To: <1519203186.1262505.1500125561024@mail.yahoo.com>
References: <1519203186.1262505.1500125561024.ref@mail.yahoo.com> <1519203186.1262505.1500125561024@mail.yahoo.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox