Skip site navigation (1) Skip section navigation (2)

BUG #6727: Column does not exist exception has no error code

From: tuckerpmt(at)gmail(dot)com
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6727: Column does not exist exception has no error code
Date: 2012-07-11 15:08:23
Message-ID: E1SoyWd-0007UF-2N@wrigleys.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-bugs
The following bug has been logged on the website:

Bug reference:      6727
Logged by:          Patrick Tucker
Email address:      tuckerpmt(at)gmail(dot)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


Responses

pgsql-bugs by date

Next:From: Tom LaneDate: 2012-07-11 17:43:19
Subject: Re: BUG #6727: Column does not exist exception has no error code
Previous:From: andy.gumbrechtDate: 2012-07-11 12:54:22
Subject: BUG #6726: pg_dump - ftell mismatch when using -Fc and split

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group