Thread: Need help with pg_dump

Need help with pg_dump

From
"Jeff Lu"
Date:
Hi,

I'm trying to back up a database using pg_dump in my C program.

Here is what the code looks like:

system("pg_dump history > c:\\backup\\history.out");

The error I got is:
postmaster: StreamConnection: accept: The connection was aborted

Thanks
-Jeff