Re: differnce from ansi sql standard - unicode strings?

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: differnce from ansi sql standard - unicode strings?
Date: 2009-02-17 15:09:52
Message-ID: 499AD340.4050502@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Pavel Stehule wrote:
> I found BNF for SQL 2003 and I found there some small difference.
> Standard use keyword ESCAPE, but PostgreSQL use keybord UESCAPE.
>
> Anybody knows reason?
>
> <Unicode character string literal> ::=
> [ <introducer> <character set specification> ]
> U <ampersand> <quote> [ <Unicode representation> ... ] <quote>
> [ { <separator> <quote> [ <Unicode representation> ... ] <quote> }... ]
> [ ESCAPE <escape character> ]

My copy has

<Unicode character string literal> ::=
[ <introducer><character set specification> ]
U<ampersand><quote> [ <Unicode representation>... ] <quote>
[ { <separator> <quote> [ <Unicode representation>... ] <quote> }... ]
<Unicode escape specifier>

<Unicode escape specifier> ::= [ UESCAPE <quote><Unicode escape
character><quote> ]

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-02-17 15:31:35 Re: PL/Perl translation, croak
Previous Message Gregory Stark 2009-02-17 13:04:34 Re: [BUGS] BUG #4660: float functions return -0