[prev in list] [next in list] [prev in thread] [next in thread]
List: pgsql-bugs
Subject: Re: [HACKERS] [BUGS] BUG #12070: hstore extension: hstore_to_json_loose produces invalid JSON
From: Andrew Dunstan <andrew () dunslane ! net>
Date: 2014-11-30 21:48:14
Message-ID: 547B909E.4010801 () dunslane ! net
[Download RAW message or body]
On 11/30/2014 04:31 PM, Tom Lane wrote:
> 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.
>
>
Then I have to cast away the const-ness when I assign it inside the
function. Constifying the whole API would be a rather larger project, I
suspect, assuming it's possible.
cheers
andrew
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic