Re: Connection Object - Mailing list pgsql-general

From Sandeep Kumar Jakkaraju
Subject Re: Connection Object
Date
Msg-id c653c98f0608120648j4a544507j8b7f88805cf95cd0@mail.gmail.com
Whole thread Raw
In response to Re: Connection Object  ("Harpreet Dhaliwal" <harpreet.dhaliwal01@gmail.com>)
List pgsql-general
 
I am using libpqxx.. library .. i need errorcode from the connection object in the libpqxx library...
 
 


 
On 8/12/06, Harpreet Dhaliwal <harpreet.dhaliwal01@gmail.com> wrote:
 
printf("Error code is %d",SQLCODE)
 
I hope this helps

 
On 8/12/06, Sandeep Kumar Jakkaraju < sandeepkumar.jakkaraju@gmail.com> wrote:

Hi All


I want to know specifically from the exception thrown by the "connection" object when the connnection string is wrong..
whether it is due to wrong database name or wrong user name or wrong password !!!

Is it possible ??

Thanx in advance

--
Sandeep Kumar Jakkaraju
WeBlog:
http://jakkarajus.blogspot.com




--
Sandeep Kumar Jakkaraju
WeBlog:
http://jakkarajus.blogspot.com

pgsql-general by date:

Previous
From: Jorge Godoy
Date:
Subject: Re: Best approach for a "gap-less" sequence
Next
From: Jorge Godoy
Date:
Subject: Re: Best approach for a "gap-less" sequence