Обсуждение: About libpgtcl authentification

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

About libpgtcl authentification

От
Denis Chavez
Дата:
Hi!

I wonder if there is a way to authentificate with the posgres server using
libpgtcl. I'm new in this and the pg_connect doesn't seem to have that option.

Regards and thanks in advance

--        Denis Chavez 
<dnchavez@uugate.uni.edu.ni>    <dnchavez@gmx.net>

Sent through GMX FreeMail - http://www.gmx.net



Re: About libpgtcl authentification

От
Oliver Elphick
Дата:
On Thu, 2002-01-24 at 18:17, Denis Chavez wrote:
> Hi!
>
> I wonder if there is a way to authentificate with the posgres server using
> libpgtcl. I'm new in this and the pg_connect doesn't seem to have that option.

pg_connect -conninfo connectOptions

See the libpq manual on PQConnectdb() for valid parameters to be
specified in connectOptions; they include username and password.

--
Oliver Elphick                                Oliver.Elphick@lfix.co.uk
Isle of Wight                              http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
    "If anyone has material possessions and sees his     brother in need but has no pity on him, how can the     love
ofGod be in him?"                                   I John 3:17