Re: pgtcl way of specifying a user

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Patrick Nelson <pnelson(at)neatech(dot)com>
Cc: "PostgreSQL List (E-mail)" <pgsql-general(at)postgresql(dot)org>
Subject: Re: pgtcl way of specifying a user
Date: 2003-02-14 21:21:33
Message-ID: 11154.1045257693@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Patrick Nelson <pnelson(at)neatech(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jonathan Bartlett 2003-02-14 21:22:45 Re: Inquiry From Form [pgsql]
Previous Message Tilo Schwarz 2003-02-14 21:08:50 Broken idocs?