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

From Marko Kreen
Subject Re: Unicode string literals versus the world
Date
Msg-id e51f66da0904151106v7a3a812bh1c364345243bc191@mail.gmail.com
Whole thread Raw
In response to Re: Unicode string literals versus the world  (Greg Stark <stark@enterprisedb.com>)
Responses Re: Unicode string literals versus the world  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 4/15/09, Greg Stark <stark@enterprisedb.com> wrote:
> On Wed, Apr 15, 2009 at 6:23 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>  >> Wouldn't we just then say that U&'' strings are always standard-
>  >> conforming?
>  >
>  > That's exactly what's causing the problem --- they are, but there
>  > is lots of software that won't know it.
>
> We could say U&'' escapes only work if you have
>  standards_conforming_strings set to true.

Whats wrong with requiring U& to conform with stdstr=off quoting rules?

You can use UESCAPE if you dont want to double backslashes.

-- 
marko


pgsql-hackers by date:

Previous
From: Greg Stark
Date:
Subject: Re: Unicode string literals versus the world
Next
From: Tom Lane
Date:
Subject: Re: Unicode string literals versus the world