Re: problema con pg_dum - Mailing list pgsql-bugs

From toruvinn
Subject Re: problema con pg_dum
Date
Msg-id op.udmqjiyv33x80h@insanity.lain.pl
Whole thread Raw
In response to problema con pg_dum  (Avilio Alarcón <aalarcon@grupoaventura.com.py>)
List pgsql-bugs
On Tue, 01 Jul 2008 19:44:28 +0200, Avilio Alarcón
<aalarcon@grupoaventura.com.py> wrote:
> pg_dump: not found
I have no idea what you just said, but I think I understand the problem.
Cron's PATH is reset to quite simple value in each cron script, so,
instead of:
> pg_dump -Ft -b radius > $(date +%Y%m%d)_aloradius_radius.tar
use
> /usr/bin/pg_dump -Ft -b radius > $(date +%Y%m%d)_aloradius_radius.tar
(or wherever your pg_dump is)
I'd also suggest using /bin/gzip instead of just gzip.

Regards,
--
ru

pgsql-bugs by date:

Previous
From: Avilio Alarcón
Date:
Subject: problema con pg_dum
Next
From: "Hiroshi Saito"
Date:
Subject: Re: BUG #4274: uuid returns duplicate values