From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: bouda@edookit.com
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] BUG #12070: hstore extension: hstore_to_json_loose produces invalid JSON
Date: Sun, 30 Nov 2014 16:31:40 -0500
Message-ID: <29018.1417383100@sss.pgh.pa.us> (raw)
In-Reply-To: <547B800F.60309@dunslane.net>
References: <20141126081059.15510.5034@wrigleys.postgresql.org>
<15817.1417018789@sss.pgh.pa.us>
<54760440.2080501@dunslane.net>
<547B3FC4.8080509@dunslane.net>
<9580.1417365900@sss.pgh.pa.us>
<547B800F.60309@dunslane.net>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Andrew Dunstan <andrew@dunslane.net> writes:
> OK, here's the patch.
Can we make IsValidJsonNumber() take a "const char *"? Also its
comment should specify that it doesn't require nul-terminated
input, if indeed it doesn't. Otherwise +1.
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
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: tgl@sss.pgh.pa.us, andrew@dunslane.net, bouda@edookit.com, pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] BUG #12070: hstore extension: hstore_to_json_loose produces invalid JSON
In-Reply-To: <29018.1417383100@sss.pgh.pa.us>
References: <20141126081059.15510.5034@wrigleys.postgresql.org> <15817.1417018789@sss.pgh.pa.us> <54760440.2080501@dunslane.net> <547B3FC4.8080509@dunslane.net> <9580.1417365900@sss.pgh.pa.us> <547B800F.60309@dunslane.net> <29018.1417383100@sss.pgh.pa.us>
* 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