Skip site navigation (1) Skip section navigation (2)

Re: libpgtcl and passwords

From: Sandro Dentella <sandro(dot)dentella(at)tin(dot)it>
To: PostgreSQL-interfaces <pgsql-interfaces(at)postgresql(dot)org>
Subject: Re: libpgtcl and passwords
Date: 2001-04-30 08:48:58
Message-ID: (view raw, whole thread or download thread mbox)
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 \

is this what you are asking for?


Sandro Dentella  *:-)
e-mail: sandro(at)ermit(dot)it sandro(dot)dentella(at)mi(dot)infn(dot)it 

In response to


pgsql-interfaces by date

Next:From: Sandro DentellaDate: 2001-04-30 08:56:00
Subject: function returning NULL?
Previous:From: Tom LaneDate: 2001-04-30 05:52:57
Subject: Re: Re: can external C-function get multiple rows?

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group