Re: Scripting issue

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Scripting issue
Дата
Msg-id 20090420222431.GA18328@depesz.com
обсуждение исходный текст
Ответ на Scripting issue  ("Scott Wells" <Scott.Wells@apollogrp.edu>)
Список pgsql-bugs
On Mon, Apr 20, 2009 at 11:08:56AM -0700, Scott Wells wrote:
> I am trying to script a pg_dumpall command set to use in a crontab
> entry.
> The problem I am finding is that the command pg_dumpall seems to be
> ignoring the -W input.

not sure what you mean by -W input. -W is a switch to force tools to ask
for password.

> (I get password prompts on all 4 instances within the DB.)
> It is happening on a Oracle Enterprise Linux 5 server and PostgreSQL
> 8.3.5 as well as 8.3.7

use pgpass file, as described in here:
http://www.postgresql.org/docs/current/interactive/libpq-pgpass.html

Best regards,

depesz

--
Linkedin: http://www.linkedin.com/in/depesz  /  blog: http://www.depesz.com/
jid/gtalk: depesz@depesz.com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

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

Предыдущее
От: "Scott Wells"
Дата:
Сообщение: Scripting issue
Следующее
От: Björn Þór Jónsson
Дата:
Сообщение: bitfromint4() in v7.2.3 to bit() in v8.1?