Re: Unicode string literals versus the world

From: Marko Kreen <markokr(at)gmail(dot)com>
To: Greg Stark <stark(at)enterprisedb(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, Sam Mason <sam(at)samason(dot)me(dot)uk>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unicode string literals versus the world
Date: 2009-04-15 18:06:04
Message-ID: e51f66da0904151106v7a3a812bh1c364345243bc191@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 4/15/09, Greg Stark <stark(at)enterprisedb(dot)com> wrote:
> On Wed, Apr 15, 2009 at 6:23 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Poul-Henning Kamp 2009-04-15 18:21:38 Lawyer jokes...
Previous Message Greg Stark 2009-04-15 17:57:22 Re: Unicode string literals versus the world