Re: Unicode string literals versus the world

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Unicode string literals versus the world
Date: 2009-04-15 11:45:30
Message-ID: 20090415114530.GJ12225@frubble.xen.chris-lamb.co.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, Apr 14, 2009 at 04:01:48PM +0300, Peter Eisentraut wrote:
> On Saturday 11 April 2009 18:20:47 Sam Mason wrote:
> > I can't see much support in the other database engines; searched for
> > Oracle, MS-SQL, DB2 and Firebird. MySQL has it planned for 7.1, so not
> > for a while.
>
> DB2 supports it, as far as I know.

Doh, yes it does doesn't it. Sorry I searched for a bit and failed to
find anything before. Looks as though the signal to noise ratio was far
too low as I've just searched again and found a (single) reference to
their docs describing the feature[1].

I've also just noticed that the MySQL todo item points to several other
implementations and how they handle Unicode escape sequences. The most
common option (bearing in mind that this is a sample of mainly FOSS
databases) seems to be doing some variant of '\u0123', as in the style
of Python. This is only supported for literals and no support for
identifiers appears to be provided.

--
Sam http://samason.me.uk/

[1] http://publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/com.ibm.db2.luw.sql.ref.doc/doc/r0000731.html

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Christian Schröder 2009-04-15 12:04:03 Re: Performance of full outer join in 8.3
Previous Message Grzegorz Jaśkiewicz 2009-04-15 11:43:04 Re: Performance of full outer join in 8.3