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

From Tom Lane
Subject Re: jsonb, unicode escapes and escaped backslashes
Date
Msg-id 4579.1422469816@sss.pgh.pa.us
Whole thread Raw
In response to Re: jsonb, unicode escapes and escaped backslashes  (David G Johnston <david.g.johnston@gmail.com>)
List pgsql-hackers
David G Johnston <david.g.johnston@gmail.com> writes:
> Am I missing something or has there been no consideration in this "forbid"
> plan on whether users will be able to retrieve, even if partially
> incorrectly, any jsonb data that has already been stored?

Data that's already been stored would look like the six characters \u0000,
which indeed might have been what it was anyway, since part of the
problem here is that we fail to distinguish "\\u0000" from "\u0000".
        regards, tom lane



pgsql-hackers by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: hung backends stuck in spinlock heavy endless loop
Next
From: Tom Lane
Date:
Subject: Re: Misaligned BufferDescriptors causing major performance problems on AMD