Re: Scripting issue

From: hubert depesz lubaczewski <depesz(at)depesz(dot)com>
To: Scott Wells <Scott(dot)Wells(at)apollogrp(dot)edu>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Scripting issue
Date: 2009-04-20 22:24:32
Message-ID: 20090420222431.GA18328@depesz.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)depesz(dot)com / aim:depeszhdl / skype:depesz_hdl / gg:6749007

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Björn Þór Jónsson 2009-04-21 02:01:56 bitfromint4() in v7.2.3 to bit() in v8.1?
Previous Message Scott Wells 2009-04-20 18:08:56 Scripting issue