Re: About libpgtcl authentification

From: Oliver Elphick <olly(at)lfix(dot)co(dot)uk>
To: Denis Chavez <dnchavez(at)gmx(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: About libpgtcl authentification
Date: 2002-01-24 21:29:41
Message-ID: 1011907781.31481.31.camel@linda
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(dot)Elphick(at)lfix(dot)co(dot)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 of God be in him?"
I John 3:17

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2002-01-25 02:25:17 Re: non-blocking connections in libpq, fix proposal
Previous Message Denis Chavez 2002-01-24 18:17:02 About libpgtcl authentification