Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id CCF6317A3628 for ; Wed, 11 Jul 2012 12:08:36 -0300 (ADT) Received: from mahout.postgresql.org ([98.129.198.123]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SoyWq-0006BF-6r for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 15:08:36 +0000 Received: from [204.145.124.246] (helo=wrigleys.postgresql.org) by mahout.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SoyWd-0005Me-GZ for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 15:08:23 +0000 Received: from www-data by wrigleys.postgresql.org with local (Exim 4.72) (envelope-from ) id 1SoyWd-0007UF-2N for pgsql-bugs@postgresql.org; Wed, 11 Jul 2012 15:08:23 +0000 Date: Wed, 11 Jul 2012 15:08:23 +0000 Message-Id: Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #6727: Column does not exist exception has no error code To: pgsql-bugs@postgresql.org From: tuckerpmt@gmail.com X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/76 X-Sequence-Number: 33552 The following bug has been logged on the website: Bug reference: 6727 Logged by: Patrick Tucker Email address: tuckerpmt@gmail.com PostgreSQL version: 9.1.1 Operating system: Windows Description: = The SQLException that is thrown when performing a query that has a column name that is not valid, does not exist, does not contain an error code. We are forced to do a string comparison to figure out if a particular exception is caused by an invalid column name. This is not ideal. A fix would be greatly appreciated. Thanks, Pat