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

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: (view raw, whole thread or download thread mbox)
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 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


pgsql-interfaces by date

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

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