Re: BUG #1349: Gap in documentation - pg_dump

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: BUG #1349: Gap in documentation - pg_dump
Дата
Msg-id 20041216134407.GA2768@wolff.to
обсуждение исходный текст
Ответ на BUG #1349: Gap in documentation - pg_dump  ("PostgreSQL Bugs List" <pgsql-bugs@postgresql.org>)
Список pgsql-bugs
On Thu, Dec 16, 2004 at 08:16:56 +0000,
  PostgreSQL Bugs List <pgsql-bugs@postgresql.org> wrote:
>
> I'm sorry, but I didn't found a better place to report that:
>
> There is no information how to specify user's password in pg_dump
> documentation. I have spent half of day searching for that (pg_hba.conf was
> not working for me) and the answer is very simple:
>
> You can use SET variables for that:
>
> PGUSER=web-user
> PGPASSWORD=secret
>
> Please include that in pg_dump documentation.

You don't want to do that; on many systems the contents of environment
variables are visible to other processes. You can keep a password in
~/.pgpass and that will work for more than just pg_dump. If the batch
scripts are running on the same machine as the server, consider using
ident authentication.

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

Предыдущее
От: "PostgreSQL Bugs List"
Дата:
Сообщение: BUG #1349: Gap in documentation - pg_dump
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: BUG #1349: Gap in documentation - pg_dump