lipg++ - Mailing list pgsql-general

From Sergei Chernev
Subject lipg++
Date
Msg-id 000401be445a$bed666a0$59d17cc1@ser.cnit.nsu.ru
Whole thread Raw
List pgsql-general
Hello,

Is there any way to connect postgress using libpg++ with
username/password authentication?
I think, i have to use
   PgConnection(const PgEnv& env, const char* dbName); // connect to the
database with
                                    // given environment and database name
but PgEnv does not contain password field:

class PgEnv {
private:
  string pgAuth;
  string pgHost;
  string pgPort;
  string pgOption;
  string pgTty;
....
}

Thank you,
---------------------------
Sergei Chernev
Internet: ser@nsu.ru
Phone: +7-3832-397354


pgsql-general by date:

Previous
From: Robert Chalmers
Date:
Subject: Looking for a shopping cart/php3 combo
Next
From: Zoltan Sebestyen
Date:
Subject: 8 byte wide integer - how?