Re: Unicode string literals versus the world - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Unicode string literals versus the world
Date
Msg-id 23974.1239819927@sss.pgh.pa.us
Whole thread Raw
In response to Re: Unicode string literals versus the world  (Marko Kreen <markokr@gmail.com>)
Responses Re: Unicode string literals versus the world  (Marko Kreen <markokr@gmail.com>)
List pgsql-hackers
Marko Kreen <markokr@gmail.com> writes:
> Whats wrong with requiring U& to conform with stdstr=off quoting rules?

The sole and only excuse for that misbegotten syntax is to be exactly
SQL spec compliant --- otherwise we might as well pick something saner.
So it needs to work like stdstr=on.  I thought Peter's proposal of
rejecting it altogether when stdstr=off might be reasonable.  The space
sensitivity around the & still sucks, but I have not (yet) thought of
a credible security exploit for that.
        regards, tom lane


pgsql-hackers by date:

Previous
From: Marko Kreen
Date:
Subject: Re: Unicode string literals versus the world
Next
From: Poul-Henning Kamp
Date:
Subject: Lawyer jokes...