Re: pgtcl way of specifying a user [SOLVED]

From: Patrick Nelson <pnelson(at)neatech(dot)com>
To: "PostgreSQL List (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgtcl way of specifying a user [SOLVED]
Date: 2003-02-14 22:30:28
Message-ID: 4165C48DE9A0D211B6400800095C585F172F50@WASHINGTON
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
----------------->>>>
Use the pg_connect -conninfo style, -conninfo "user=foo dbname=bar ..."
The other syntax is obsolete and not really being supported.
----------------->>>>

The following solved my problem:

pg_connect -conninfo "host=$PGHostName user=$PGUserName dbname=$PGDBName"

Browse pgsql-general by date

  From Date Subject
Next Message John Smith 2003-02-14 22:30:44 parameters in views
Previous Message Tom Lane 2003-02-14 22:29:48 Re: operators and bit field