Re: specifying a password on the cmd line for db connect

Поиск
Список
Период
Сортировка
От Jasen Betts
Тема Re: specifying a password on the cmd line for db connect
Дата
Msg-id helm9q$g0k$3@reversiblemaps.ath.cx
обсуждение исходный текст
Ответ на specifying a password on the cmd line for db connect  ("Gauthier, Dave" <dave.gauthier@intel.com>)
Список pgsql-general
On 2009-11-16, Gauthier, Dave <dave.gauthier@intel.com> wrote:
> --_000_482E80323A35A54498B8B70FF2B87980042237CF64azsmsx504amrc_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Hi:
>
> Is there a way to require and specify a password at the cmd line for a conn=
> ect?  At first glance...

PGPASSWORD=fee  psql --username foo ...

><html xmlns:o=3D"urn:schemas-microsoft-com:office:office" xmlns:w=3D"urn:sc=
> hemas-microsoft-com:office:word" xmlns=3D"http://www.w3.org/TR/REC-html40">

for winders

set PGPASSWORD=fee
psql --username foo ....


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Wiki page on vacuum full
Следующее
От: Jasen Betts
Дата:
Сообщение: Re: specifying a password on the cmd line for db connect