Re: .pgpass file

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: .pgpass file
Дата
Msg-id 20050321212359.GA43212@winnie.fuhr.org
обсуждение исходный текст
Ответ на .pgpass file  ("Walker, Jed S" <Jed_Walker@cable.comcast.com>)
Список pgsql-novice
On Mon, Mar 21, 2005 at 01:47:43PM -0700, Walker, Jed S wrote:
> I have configured a .pgpass file, but am having trouble with the hostname
> portion.
>
> If I have
>
> robux:*:JED:jed:jed
> or
> local:*:JED:jed:jed
>
> and I do "psql -U jed"  I get the password prompt.

What happens if you put "localhost" instead of "local" in .pgpass?
Or if you run "psql -h robux -U jed"?

See also the comments about environment variables in the psql
documentation and the "Environment Variables" section of the libpq
documentation.  You can set up your environment so all you have to
type is "psql".

--
Michael Fuhr
http://www.fuhr.org/~mfuhr/

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Walker, Jed S"
Дата:
Сообщение: .pgpass file
Следующее
От: "Walker, Jed S"
Дата:
Сообщение: Re: .pgpass file