Re: strange message from pg_dumpall

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Joao Miguel Ferreira <joao(dot)mc(dot)ferreira(at)criticalsoftware(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: strange message from pg_dumpall
Date: 2007-10-31 13:35:01
Message-ID: 14337.1193837701@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Joao Miguel Ferreira <joao(dot)mc(dot)ferreira(at)criticalsoftware(dot)com> writes:
> This is what I do:
> system("su postgres -c \"pg_dumpall --clean > some_file\"");

This is going to try to find pg_dumpall in whatever PATH is currently
active within the script --- maybe there's something bogus about that
path? Personally I'd use "su - postgres".

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Phoenix Kiula 2007-10-31 14:00:41 Replacing RDBMS
Previous Message Moisan Yves 2007-10-31 12:31:48 Re: PG windows service issues