pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Removing our datasource/pooling implementation.
Date: Sat, 15 Jan 2005 20:54:24 +1300
Message-ID: <41E8CC30.4060601@opencloud.com> (raw)
In-Reply-To: <19942.1105680404@sss.pgh.pa.us>
References: <Pine.BSO.4.56.0501052340370.3195@leary.csoft.net>
	<41DDAE01.7030405@opencloud.com>
	<Pine.BSO.4.56.0501102231430.25062@leary.csoft.net>
	<41E44DD6.2080809@opencloud.com>
	<Pine.BSO.4.56.0501111743320.28776@leary.csoft.net>
	<41E464C4.6060904@opencloud.com>
	<Pine.BSO.4.56.0501111855590.32720@leary.csoft.net>
	<41E71F87.90400@opencloud.com>
	<19942.1105680404@sss.pgh.pa.us>

Tom Lane wrote:
> Oliver Jowett <oliver@opencloud.com> writes:
> 
>>Some of the SQL states I assigned aren't very good matches. The main one 
>>is that "you can't do that operation on that sort of object" type of 
>>error is mapped to "object not in prerequisite state". Any better ideas?
> 
> 
> ERRCODE_WRONG_OBJECT_TYPE (42809) seems like a better match.  The
> prerequisite-state error implies that you could have done that operation
> on that object, if it were in a more receptive mood.

Thanks, that seems like a better match; I've changed most occurrences. 
There were a couple of cases where "not in prerequisite state" was 
closer, e.g. when trying to use a closed object.

-O



view thread (13+ messages)

Message-ID: <41E8CC30.4060601@opencloud.com>
Permalink:  ../41E8CC30.4060601@opencloud.com/
Also on:    postgresql.org/message-id/41E8CC30.4060601@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, tgl@sss.pgh.pa.us, books@ejurka.com
  Subject: Re: Removing our datasource/pooling implementation.
  In-Reply-To: <41E8CC30.4060601@opencloud.com>
  References: <Pine.BSO.4.56.0501052340370.3195@leary.csoft.net> <41DDAE01.7030405@opencloud.com> <Pine.BSO.4.56.0501102231430.25062@leary.csoft.net> <41E44DD6.2080809@opencloud.com> <Pine.BSO.4.56.0501111743320.28776@leary.csoft.net> <41E464C4.6060904@opencloud.com> <Pine.BSO.4.56.0501111855590.32720@leary.csoft.net> <41E71F87.90400@opencloud.com> <19942.1105680404@sss.pgh.pa.us> <41E8CC30.4060601@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox