Re: pgtcl way of specifying a user [SOLVED] - Mailing list pgsql-general

From Patrick Nelson
Subject Re: pgtcl way of specifying a user [SOLVED]
Date
Msg-id 4165C48DE9A0D211B6400800095C585F172F50@WASHINGTON
Whole thread Raw
List 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"


pgsql-general by date:

Previous
From: Arguile
Date:
Subject: Re: "iscachable" functions
Next
From: John Smith
Date:
Subject: parameters in views