Re: Connection Error message in ECPG

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Matthew Vanecek <mevanecek(at)yahoo(dot)com>
Cc: Postgresql Interfaces List <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: Connection Error message in ECPG
Date: 2003-02-10 12:44:26
Message-ID: 20030210124426.GI19195@feivel.fam-meskes.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)Fam-Meskes(dot)De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Jeroen T. Vermeulen 2003-02-10 20:05:22 libpqxx presentation
Previous Message Hans-Jürgen Schönig 2003-02-10 11:25:26 DBI transaction handling ...