Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: [GENERAL] strange message from pg_dumpall

From: Tom Lane <tgl(at)sss.pgh.pa.us>
Date: Wed Oct 31 2007 - 18:24:06 EDT


Joao Miguel Ferreira <joao.mc.ferreira@criticalsoftware.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

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?
Do you need help?X

               http://archives.postgresql.org/ Received on Wed Oct 31 19:09:21 2007

This archive was generated by hypermail 2.1.8 : Mon Jun 16 2008 - 19:10:43 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library