pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew Vanecek <mevanecek@yahoo.com>
To: Postgresql Interfaces List <pgsql-interfaces@postgresql.org>
Subject: Connection Error message in ECPG
Date: 08 Feb 2003 13:50:38 -0600
Message-ID: <1044733838.6526.7.camel@reliant.home.pri> (raw)

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...

Attachments:

  signature.asc (application/pgp-signature, 231B) download

view thread (3+ messages)  latest in thread

Message-ID: <1044733838.6526.7.camel@reliant.home.pri>
Permalink:  ../1044733838.6526.7.camel@reliant.home.pri/
Also on:    postgresql.org/message-id/1044733838.6526.7.camel@reliant.home.pri

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: mevanecek@yahoo.com
  Subject: Re: Connection Error message in ECPG
  In-Reply-To: <1044733838.6526.7.camel@reliant.home.pri>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox