[BUGS] Parser failed to return an error

Поиск
Список
Период
Сортировка
От rob stone
Тема [BUGS] Parser failed to return an error
Дата
Msg-id 1486062153.4699.3.camel@gmail.com
обсуждение исходный текст
Ответы Re: [BUGS] Parser failed to return an error  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: [BUGS] Parser failed to return an error  (Tatsuo Ishii <ishii@sraoss.co.jp>)
Список 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



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

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] BUG #14527: Calandar Week
Следующее
От: "David G. Johnston"
Дата:
Сообщение: Re: [BUGS] Parser failed to return an error