Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax

From: Manuel Gómez <targen(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax
Date: 2014-02-03 20:43:16
Message-ID: CAJWnFaOgzPeWUFD4yDr-=+QyHnZ31KoMMRQcYGnEN=TLEeW3qQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, Feb 3, 2014 at 4:10 PM, Manuel Gómez <targen(at)gmail(dot)com> wrote:
> manuel(at)debian $ printf '%s\n' 'select 42 as U&"a"' | psql
> ERROR: syntax error at end of input
> LINE 1: select 42 as U&"a"
> ^

Sorry for the split mail; just noticed something else that is probably relevant.

Upon executing the failing command, the server log shows thus:

ERROR: syntax error at end of input at character 19
STATEMENT: select 42 as U&"a"

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2014-02-03 20:58:40 Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax
Previous Message Manuel Gómez 2014-02-03 20:40:04 Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax