Skip site navigation (1) Skip section navigation (2)

Connection Error message in ECPG

From: Matthew Vanecek <mevanecek(at)yahoo(dot)com>
To: Postgresql Interfaces List <pgsql-interfaces(at)postgresql(dot)org>
Subject: Connection Error message in ECPG
Date: 2003-02-08 19:50:38
Message-ID: 1044733838.6526.7.camel@reliant.home.pri (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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?

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

Next:From: Mark KirkwoodDate: 2003-02-10 07:39:51
Subject: Re: Apache child processes making multiple persistent
Previous:From: mehrzad soltaniDate: 2003-02-08 04:45:37
Subject: How can i make a dll project in KDE Developer?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group