Re: [rfc] unicode escapes for extended strings

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: Marko Kreen <markokr(at)gmail(dot)com>
Cc: Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov>, pgsql-hackers(at)postgresql(dot)org, Sam Mason <sam(at)samason(dot)me(dot)uk>
Subject: Re: [rfc] unicode escapes for extended strings
Date: 2009-04-17 20:54:39
Message-ID: 49E8EC8F.60504@dunslane.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Marko Kreen wrote:
> On 4/17/09, Kevin Grittner <Kevin(dot)Grittner(at)wicourts(dot)gov> wrote:
>
>> Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
>> > ISTM that one of the uses of this is to say "store the character
>> > that corresponds to this Unicode code point in whatever the database
>> > encoding is"
>>
>> I would think you're right. As long as the given character is in the
>> user's character set, we should allow it. Presumably we've already
>> confirmed that they have an encoding scheme which allows them to store
>> everything in their character set.
>>
>
> It is probably good idea, but currently I just followed what the U&
> strings do.
>
> I can change my patch to do it, but it is probably more urgent in U&
> case to decide whether they should work in other encodings too.
>
>

Indeed. What does the standard say about the behaviour of U&'' ?

cheers

andrew

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2009-04-17 21:10:30 Re: psql with "Function Type" in \df
Previous Message David Fetter 2009-04-17 20:52:06 Re: psql with "Function Type" in \df