Re: Connection Object

From: "Sandeep Kumar Jakkaraju" <sandeepkumar(dot)jakkaraju(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Connection Object
Date: 2006-08-12 13:48:41
Message-ID: c653c98f0608120648j4a544507j8b7f88805cf95cd0@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(dot)dhaliwal01(at)gmail(dot)com> wrote:
>
> http://www.postgresql.org/docs/8.1/interactive/ecpg-errors.html#AEN27672
>
> printf("Error code is %d",SQLCODE)
>
> I hope this helps
>
>
> On 8/12/06, Sandeep Kumar Jakkaraju <sandeepkumar(dot)jakkaraju(at)gmail(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jorge Godoy 2006-08-12 13:55:23 Re: Best approach for a "gap-less" sequence
Previous Message Jorge Godoy 2006-08-12 13:44:14 Re: Best approach for a "gap-less" sequence