Received: from infnmi1.mi.infn.it (infnmi1.mi.infn.it [192.135.14.77]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f3U8qS376446 for ; Mon, 30 Apr 2001 04:52:28 -0400 (EDT) (envelope-from sandro.dentella@tin.it) Received: from pcgun.mi.infn.it (IDENT:root@maxmod13.mi.infn.it [192.84.141.206]) by infnmi1.mi.infn.it (8.9.1a/8.8.8/infnmi) with ESMTP id KAA27482 for ; Mon, 30 Apr 2001 10:52:25 +0200 (MET DST) Received: (from sandro@localhost) by pcgun.mi.infn.it (8.9.3/8.8.5) id KAA06507 for pgsql-interfaces@postgresql.org; Mon, 30 Apr 2001 10:48:58 +0200 X-Authentication-Warning: bluff.ermit.it: sandro set sender to sandro.dentella@tin.it using -f Date: Mon, 30 Apr 2001 10:48:58 +0200 From: Sandro Dentella To: PostgreSQL-interfaces Subject: Re: libpgtcl and passwords Message-ID: <20010430104858.A6311@bluff.ermit.it> Mail-Followup-To: PostgreSQL-interfaces References: <200104280302.f3S32rw03367@candle.pha.pa.us> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200104280302.f3S32rw03367@candle.pha.pa.us>; from pgman@candle.pha.pa.us on Fri, Apr 27, 2001 at 11:02:53PM -0400 X-Archive-Number: 200104/134 X-Sequence-Number: 1518 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? ciao sandro *:-) -- Sandro Dentella *:-) e-mail: sandro@ermit.it sandro.dentella@mi.infn.it