Re: jsonb, unicode escapes and escaped backslashes - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: jsonb, unicode escapes and escaped backslashes
Date
Msg-id 54C7C03E.7010504@dunslane.net
Whole thread Raw
In response to Re: jsonb, unicode escapes and escaped backslashes  (Noah Misch <noah@leadboat.com>)
Responses Re: jsonb, unicode escapes and escaped backslashes
List pgsql-hackers
On 01/27/2015 12:24 AM, Noah Misch wrote:
>> For the moment, maybe I could commit the fix for the non U+0000 case for
>> escape_json, and we could think some more about detecting and warning about
>> the problem strings.
> +1 for splitting development that way.  Fixing the use of escape_json() is
> objective, but the choices around the warning are more subtle.
>


OK, so something like this patch? I'm mildly concerned that you and I
are the only ones commenting on this.

cheers

andrew



Attachment

pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: pg_upgrade and rsync
Next
From: Tom Lane
Date:
Subject: Re: numeric access out of bounds