Parser failed to return an error

From: rob stone <floriparob(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Parser failed to return an error
Date: 2017-02-02 19:02:33
Message-ID: 1486062153.4699.3.camel@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Linux roblaptop 4.9.0-1-amd64 #1 SMP Debian 4.9.2-2 (2017-01-12) x86_64
GNU/Linux

I was running a query like:-

SELECT TO_CHAR(my_date,'dd-mm-yyyy) FROM my_table;

and I forgot to type the second single quotation mark at the end of the
mask string.

Under psql it just hung and I had to Ctrl-C to go back to a prompt and
under JDBC it hung as well and EQ just said "error", as in a failure of
some sort.

I would have expected either a 42601 error or maybe a 03000 error to
have been returned.

If you need any further information, please let me know.

Rob

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David G. Johnston 2017-02-02 19:14:26 Re: Parser failed to return an error
Previous Message Tom Lane 2017-02-02 17:21:17 Re: BUG #14527: Calandar Week