Re: BUG #13832: Syntax errors are extremely unfriendly - Mailing list pgsql-bugs

From Thomas Kellerer
Subject Re: BUG #13832: Syntax errors are extremely unfriendly
Date
Msg-id n5s61o$um9$1@ger.gmane.org
Whole thread Raw
In response to BUG #13832: Syntax errors are extremely unfriendly  (tdhutt@gmail.com)
List pgsql-bugs
tdhutt@gmail.com schrieb am 24.12.2015 um 11:44:
> 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!

Actually I think Postgres has one of the best implementations of error messages.

Which one of the following:

    http://www.sql-workbench.net/comparison/why_error_messages_matter.html

do you find more user friendly?

pgsql-bugs by date:

Previous
From: John McKown
Date:
Subject: Re: BUG #13832: Syntax errors are extremely unfriendly
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #13832: Syntax errors are extremely unfriendly