pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Wall <d.wall@computer.org>
To: pgsql-interfaces@postgresql.org
Subject: Re: JDBC error codes to detect duplicates?
Date: Thu, 1 Mar 2001 11:06:47 -0800
Message-ID: <02df01c0a282$c352b700$5a2b7ad8@expertrade.com> (raw)
References: <Pine.BSF.4.21.0103020041110.98084-100000@iclub.nsu.ru>

> Is there a plan for the JDBC to return the codes for postgres back to
the program?  I running 7.1beta4 now.
>
>> AFAIK clean implementation of such feature is not possible because
backend
>> protocol does not have error codes (only error messages)

Too bad.  Is the definitive list of error messages documented? (Probably
yes, but where?)  Perhaps we could write an ugly implementation that would
parse the error message and return meaningful errors codes so that all users
don't suffer the same problem.

Thoughts?

David





view thread (12+ messages)  latest in thread

Message-ID: <02df01c0a282$c352b700$5a2b7ad8@expertrade.com>
Permalink:  ../02df01c0a282$c352b700$5a2b7ad8@expertrade.com/
Also on:    postgresql.org/message-id/02df01c0a282$c352b700$5a2b7ad8@expertrade.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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: d.wall@computer.org
  Subject: Re: JDBC error codes to detect duplicates?
  In-Reply-To: <02df01c0a282$c352b700$5a2b7ad8@expertrade.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