pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: targen@gmail.com
To: pgsql-bugs@postgresql.org
Subject: BUG #9068: invalid YY_START on Unicode identifier escape syntax
Date: Sat, 01 Feb 2014 18:41:47 +0000
Message-ID: <20140201184147.26701.84156@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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.


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <20140201184147.26701.84156@wrigleys.postgresql.org>
Permalink:  ../20140201184147.26701.84156@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/20140201184147.26701.84156@wrigleys.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: targen@gmail.com
  Subject: Re: BUG #9068: invalid YY_START on Unicode identifier escape syntax
  In-Reply-To: <20140201184147.26701.84156@wrigleys.postgresql.org>
  References: <20140201184147.26701.84156@wrigleys.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox