Re: [GENERAL] libq++ and security help

Поиск
Список
Период
Сортировка
От Bruce Tong
Тема Re: [GENERAL] libq++ and security help
Дата
Msg-id Pine.LNX.3.95.980616075826.6837N-100000@laxmi.ev.net
обсуждение исходный текст
Ответ на Re: [GENERAL] libq++ and security help  (Peter Mount <pgsqlgen@retep.org.uk>)
Список pgsql-general
> I'm not sure about libq++, but for libpq, you can do this by using
> PQconnectdb(). The easiest way, is to look at the source to psql, which
> uses libpq itself.
>
> PGconn *db = PQconnectdb("host=myhost user=myuser password=mypassword port=myport");

Whoa, neat. I guess I'm going to have to start looking at the source. That
function isn't in the documentation for LIBPQ. Thanks for the pointer.


Bruce Tong
Systems Programmer
Electronic Vision / FITNE

mailto: zztong@laxmi.ev.net
http://www.ev.net/fitne


В списке pgsql-general по дате отправления:

Предыдущее
От: "Jose' Soares Da Silva"
Дата:
Сообщение: Re: [HACKERS] pg_dump error
Следующее
От: The Hermit Hacker
Дата:
Сообщение: By Popular Demand...