Connection Error message in ECPG - Mailing list pgsql-interfaces

From Matthew Vanecek
Subject Connection Error message in ECPG
Date
Msg-id 1044733838.6526.7.camel@reliant.home.pri
Whole thread Raw
Responses Re: Connection Error message in ECPG  (Michael Meskes <meskes@postgresql.org>)
List pgsql-interfaces
Hi,
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
RFE, or submit a patch?

Thanks,
--
Matthew Vanecek
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
********************************************************************************
For 93 million miles, there is nothing between the sun and my shadow except me.
I'm always getting in the way of something...

pgsql-interfaces by date:

Previous
From: mehrzad soltani
Date:
Subject: How can i make a dll project in KDE Developer?
Next
From: Mark Kirkwood
Date:
Subject: Re: Apache child processes making multiple persistent