Re: Connection Error message in ECPG - Mailing list pgsql-interfaces

From Michael Meskes
Subject Re: Connection Error message in ECPG
Date
Msg-id 20030210124426.GI19195@feivel.fam-meskes.de
Whole thread Raw
In response to Connection Error message in ECPG  (Matthew Vanecek <mevanecek@yahoo.com>)
Responses Re: Connection Error message in ECPG  (Matthew Vanecek <mevanecek@yahoo.com>)
List 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@Fam-Meskes.De
ICQ: 179140304
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!


pgsql-interfaces by date:

Previous
From: Mark Kirkwood
Date:
Subject: Re: Apache child processes making multiple persistent
Next
From: "Jeroen T. Vermeulen"
Date:
Subject: libpqxx presentation