From: | "Tim Barnard" <tbarnard(at)povn(dot)com> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org>, "Lucky" <lucky(at)jen2000(dot)com> |
Subject: | Re: libpq++ PgDatabase and PgConnection |
Date: | 2001-06-12 20:22:57 |
Message-ID: | 00e701c0f37dba22e0$a519af3f@hartcomm.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Just pass the parameters separated with whitespace. Example:
PgDatabase data("dbname=mydb user=foo password=bar");
Tim
----- Original Message -----
From: Lucky
To: pgsql-general(at)PostgreSQL(dot)org
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.
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Dunn | 2001-06-12 20:29:08 | PLPGSQL: Using SELECT INTO and EXECUTE |
Previous Message | mazzo | 2001-06-12 20:20:52 | abs() does not exists.. |