Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WA6Fr-0001rq-Vb for pgsql-bugs@arkaria.postgresql.org; Sun, 02 Feb 2014 23:15:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WA6Fr-0004xN-Ao for pgsql-bugs@arkaria.postgresql.org; Sun, 02 Feb 2014 23:15:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9fW1-0007E1-T1 for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 18:42:05 +0000 Received: from wrigleys.postgresql.org ([204.145.124.246]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1W9fVz-0004p0-6B for pgsql-bugs@postgresql.org; Sat, 01 Feb 2014 18:42:05 +0000 MIME-Version: 1.0 Subject: BUG #9068: invalid YY_START on Unicode identifier escape syntax To: pgsql-bugs@postgresql.org From: targen@gmail.com Date: Sat, 01 Feb 2014 18:41:47 +0000 Message-ID: <20140201184147.26701.84156@wrigleys.postgresql.org> X-Pg-Spam-Score: -0.3 (/) Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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