Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax
Date
Msg-id 17801.1391461120@sss.pgh.pa.us
Whole thread Raw
In response to BUG #9068: invalid YY_START on Unicode identifier escape syntax  (targen@gmail.com)
List pgsql-bugs
Manuel Gómez <targen@gmail.com> writes:
> On Sun, Feb 2, 2014 at 7:30 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Thanks!  Just tested this though, and I’m not sure it’s really working
> as intended:

>     manuel@debian $ printf '%s\n' 'select 42 as U&"a"' | psql
>     ERROR:  syntax error at end of input
>     LINE 1: select 42 as U&"a"
>                              ^

Hmmm ... looks like the EOF case wasn't correctly handled in the backend
lexer either.  Sigh.  Again, thanks for the report.
        regards, tom lane



pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: WTF
Next
From: plademan@comcast.net
Date:
Subject: BUG #9088: default are not working