Search Postgresql Archives

Re: strange message from pg_dumpall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux