On 11/30/2014 04:31 PM, Tom Lane wrote:
Andrew Dunstan <and...@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-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers