Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1aDePc-0004B1-Qg for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2015 20:29:00 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1aDePc-0003NN-8x for pgsql-bugs@arkaria.postgresql.org; Mon, 28 Dec 2015 20:29:00 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1aDePb-0003N9-MU for pgsql-bugs@postgresql.org; Mon, 28 Dec 2015 20:28:59 +0000 Received: from plane.gmane.org ([80.91.229.3]) by magus.postgresql.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1aDePX-0004Gp-3U for pgsql-bugs@postgresql.org; Mon, 28 Dec 2015 20:28:58 +0000 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aDePS-0002VU-IH for pgsql-bugs@postgresql.org; Mon, 28 Dec 2015 21:28:50 +0100 Received: from ppp-46-244-213-186.dynamic.mnet-online.de ([46.244.213.186]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Dec 2015 21:28:50 +0100 Received: from spam_eater by ppp-46-244-213-186.dynamic.mnet-online.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 28 Dec 2015 21:28:50 +0100 X-Injected-Via-Gmane: http://gmane.org/ To: pgsql-bugs@postgresql.org From: Thomas Kellerer Subject: Re: BUG #13832: Syntax errors are extremely unfriendly Date: Mon, 28 Dec 2015 21:28:42 +0100 Lines: 34 Message-ID: References: <20151224104428.2673.7170@wrigleys.postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: ppp-46-244-213-186.dynamic.mnet-online.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.21) Gecko/20090302 Thunderbird/2.0.0.21 Mnenhy/0.7.5.666 In-Reply-To: <20151224104428.2673.7170@wrigleys.postgresql.org> X-Pg-Spam-Score: -1.4 (-) 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 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? -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs