Re: libpq++ PgDatabase and PgConnection - Mailing list pgsql-general

From Tim Barnard
Subject Re: libpq++ PgDatabase and PgConnection
Date
Msg-id 00e701c0f37d$78ba22e0$a519af3f@hartcomm.com
Whole thread Raw
In response to libpq++ PgDatabase and PgConnection  ("Lucky" <lucky@jen2000.com>)
List pgsql-general
Just pass the parameters separated with whitespace. Example:
 
PgDatabase data("dbname=mydb user=foo password=bar");
 
Tim
 
----- Original Message -----
From: Lucky
Sent: Monday, June 11, 2001 9:13 PM
Subject: [GENERAL] libpq++ PgDatabase and PgConnection

Dear Sirs,
Thank you for your time and patience.
Quick problem using PgDatabase and Pg Connection.
 
I am using PgDatabase data("dbname=mydb");
 
I need to login to the db though with user name and password.
 
how do I do this using PgDatabase or PgConnection?
 
Thank you again
Lucky Phillips.
 

pgsql-general by date:

Previous
From: Arcady Genkin
Date:
Subject: Re: REPOST: redefining location of the socket file /tmp/.s.PGSQL.5432
Next
From: "mazzo"
Date:
Subject: abs() does not exists..