From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Sandro Dentella <sandro(dot)dentella(at)tin(dot)it> |
Cc: | PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org> |
Subject: | Re: libpgtcl and passwords |
Date: | 2001-04-30 15:58:08 |
Message-ID: | 200104301558.f3UFw8j16231@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-interfaces |
> On Fri, Apr 27, 2001 at 11:02:53PM -0400, Bruce Momjian wrote:
> >
> > Is there a way to user username/passwords with libpgtcl? I don't see
> > any options in pg_connect. Is it pg_connect -conninfo conninfoString?
> > Does conninfoString match libpq's PQconnectdb?
>
> set p [pg_connect -conninfo "user=postgres host=localhost dbname=erm \
> password=xxx"]
>
> is this what you are asking for?
Yes, I later found -conninfo, and updated the SGML to mention that the
flags supported are those of libpq's PQconnectdb. Thanks.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2001-04-30 19:05:37 | Re: MULTIPLE OUTER JOIN SYNTAX :-( can't quess it |
Previous Message | Tom Lane | 2001-04-30 14:24:24 | Re: [INTERFACES] function returning NULL? |