BUG #9068: invalid YY_START on Unicode identifier escape syntax

Поиск
Список
Период
Сортировка
От targen@gmail.com
Тема BUG #9068: invalid YY_START on Unicode identifier escape syntax
Дата
Msg-id 20140201184147.26701.84156@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      9068
Logged by:          Manuel Gómez
Email address:      targen@gmail.com
PostgreSQL version: 9.3.2
Operating system:   Linux
Description:

Long story short:

    manuel@debian $ psql
    psql (9.3.2)
    Type "help" for help.

    manuel=# U&""""
    invalid YY_START
    manuel@debian $

I was toying around with the Unicode identifier escape syntax and stumbled
upon this.  It seems to work correctly if the identifier isn’t the last
token in the input:

    $ psql
    psql (9.3.2)
    Type "help" for help.

    manuel=# select 42 as U&"""";
     "
    ----
     42
    (1 row)

    manuel=# select 42 as U&""""+
    manuel-#

(psql waits for the rest of the command)

A very minor annoyance, really, but still worth reporting since it kills the
client.

Observed identical behavior on 9.3.2 in 64-bit Debian 7.2 and 9.3beta1 on
32-bit Ubuntu natty.

В списке pgsql-bugs по дате отправления:

Предыдущее
От: marco.atzeri@gmail.com
Дата:
Сообщение: BUG #9074: prepared_xacts test freezes
Следующее
От: Kevin Martin
Дата:
Сообщение: Re: BUG #8398: to_json(''::hstore) gives invalid JSON