Skip site navigation (1) Skip section navigation (2)

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 22:24:06
Message-ID: 21982.1193869446@sss.pgh.pa.us (view raw or flat)
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 run from within a Perl module called from within a Perl script.

> I've tried the same command directlly on the shell and it works fine.
> But from the perl script it complaints about pg_dump !!!???

Maybe strace would yield some useful info, ie

system("su postgres -c \"strace -f pg_dumpall --clean > some_file 2>strace.out\"");

What platform and PG version is this exactly?

			regards, tom lane

In response to

pgsql-general by date

Next:From: Christian SchröderDate: 2007-10-31 22:26:33
Subject: Re: (Never?) Kill Postmaster?
Previous:From: Joshua D. DrakeDate: 2007-10-31 21:41:10
Subject: PostgreSQL Conference Fall 2007 wrap up

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group