Re: Unicode escapes in literals - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unicode escapes in literals
Date
Msg-id 10577.1224780525@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unicode escapes in literals  (Andrew Sullivan <ajs@commandprompt.com>)
List pgsql-hackers
Andrew Sullivan <ajs@commandprompt.com> writes:
> On Thu, Oct 23, 2008 at 06:04:43PM +0300, Peter Eisentraut wrote:
>> Yeah, excellent question.  It seems completely unnecessary, but it is 
>> surely there in the syntax diagram.

> Probably because many Unicode representations are done with "U+"
> followed by 4-6 hexadecimal units, but "+" is problematic for other
> reasons (in some vendor's implementation)?

They could hardly ignore the conflict with the operator interpretation
for +.  The committee has now cut themselves off from ever having a
standard operator named &, but I suppose they didn't think ahead to that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: Block level concurrency during recovery
Next
From: Tom Lane
Date:
Subject: Re: double-buffering page writes