Обсуждение: lipg++

Поиск
Список
Период
Сортировка

lipg++

От
"Sergei Chernev"
Дата:
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