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

From Tom Lane
Subject Re: pgtcl way of specifying a user
Date
Msg-id 11154.1045257693@sss.pgh.pa.us
Whole thread Raw
In response to Re: pgtcl way of specifying a user  (Patrick Nelson <pnelson@neatech.com>)
List pgsql-general
Patrick Nelson <pnelson@neatech.com> writes:
> -username and -password are not options of pg_connect and result in an
> error.  That's the problem there seems to be no way of specifying a specific
> user.

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

            regards, tom lane

pgsql-general by date:

Previous
From: Tilo Schwarz
Date:
Subject: Broken idocs?
Next
From: Jonathan Bartlett
Date:
Subject: Re: Inquiry From Form [pgsql]