BUG #13832: Syntax errors are extremely unfriendly

Поиск
Список
Период
Сортировка
От tdhutt@gmail.com
Тема BUG #13832: Syntax errors are extremely unfriendly
Дата
Msg-id 20151224104428.2673.7170@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: BUG #13832: Syntax errors are extremely unfriendly  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: BUG #13832: Syntax errors are extremely unfriendly  (Thomas Kellerer <spam_eater@gmx.net>)
Список pgsql-bugs
The following bug has been logged on the website:

Bug reference:      13832
Logged by:          Tim
Email address:      tdhutt@gmail.com
PostgreSQL version: 9.3.5
Operating system:   Linux
Description:

When you have a syntax error in PostgreSQL (or MySQL for that matter) you
get a message like this:

> ERROR: syntax error at or near "FROM"
>   Position: 8

This is not very user-friendly to put it mildly! Compare this with Clang's
error messages (http://clang.llvm.org/diagnostics.html) which give you the
exact location of the error, and also what was expected, and even
suggestions to fix it!

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

Предыдущее
От: nayaksasmita484@gmail.com
Дата:
Сообщение: BUG #13831: Server Closed Connection Unexpectedly
Следующее
От: huang
Дата:
Сообщение: Re: BUG #13830: pg_table_size and pg_indexes_size