Re: Lexing with different charsets - Mailing list pgsql-hackers

From Stephan Szabo
Subject Re: Lexing with different charsets
Date
Msg-id 20040413192942.W62811@megazone.bigpanda.com
Whole thread Raw
In response to Re: Lexing with different charsets  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
On Wed, 14 Apr 2004, Tatsuo Ishii wrote:

> > I've spent some more time reading specs today. Together with Peter E's
> > explanataion (Thanks!) I think I've got a farily good understanding of the
> > parts talking about locales now.
> >
> > My next question is about lexing. The spec says that one can use strings
> > of different charsets in the queries, like:
> >
> >   ... WHERE field1 = _latin1'FooBar' and field2 = _utf8'Åäö'
>
> In my understanding this was removed as of SQL:1999. I'm not sure
> about SQL:2003 though.

AFAICS, it still basically has:
<character string literal> ::=
[ <introducer><character set specification> ]
<quote> [ <character representation>... ] <quote>
[ { <separator> <quote> [ <character representation>... ] <quote> }... ]


pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: Lexing with different charsets
Next
From: Robert Treat
Date:
Subject: Re: PostgreSQL configuration