pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Matthew Vanecek <mevanecek@yahoo.com>
Cc: Postgresql Interfaces List <pgsql-interfaces@postgresql.org>
Subject: Re: Connection Error message in ECPG
Date: Mon, 10 Feb 2003 13:44:26 +0100
Message-ID: <20030210124426.GI19195@feivel.fam-meskes.de> (raw)
In-Reply-To: <1044733838.6526.7.camel@reliant.home.pri>
References: <1044733838.6526.7.camel@reliant.home.pri>

On Sat, Feb 08, 2003 at 01:50:38PM -0600, Matthew Vanecek wrote:
> What would it take to get a better error message out of the ECPG
> interface, when a connection fails?  It uses PQstatus(conn) to check the
> status, but it doesn't use PQerrorMessage(conn) to get the error from
> the backend and string it into sqlca.sqlerrm.sqlerrmc.  Is there a way
> to get that message from ECPG currently?  If not, where do I file an

No, you're completely right.

> RFE, or submit a patch?

The RFE has been noted, a patch can be send to me or any other committer
of course, but I'd prefer you send it directly to me, so I can remove it
from my todo list.

Michael
-- 
Michael Meskes
Email: Michael@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



view thread (3+ messages)  latest in thread

Message-ID: <20030210124426.GI19195@feivel.fam-meskes.de>
Permalink:  ../20030210124426.GI19195@feivel.fam-meskes.de/
Also on:    postgresql.org/message-id/20030210124426.GI19195@feivel.fam-meskes.de

 · 

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: meskes@postgresql.org, mevanecek@yahoo.com
  Subject: Re: Connection Error message in ECPG
  In-Reply-To: <20030210124426.GI19195@feivel.fam-meskes.de>

* 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