Getting postmaster: StreamConnection: accept: The connection was aborted - Mailing list pgsql-general

From Jeff Lu
Subject Getting postmaster: StreamConnection: accept: The connection was aborted
Date
Msg-id 006c01c22c30$1487ed60$1501a8c0@DemoServer
Whole thread Raw
List pgsql-general

Hi,

I'm trying to perform a pg_dump from within a C program and I'm getting

postmaster: StreamConnection: accept: The connection was aborted

I've tried two different ways:

1) system("./pg_dump --file=database.dat database");

AND

2) system("./dbbackup.bat");

Where dbbackup.bat consists of

pg_dump --file=database.dat database

Both ways have the same error.

However, it works fine with run dbbackup.bat from a command line.

Please help

Thanks

-Jeff

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Tom, I've got an emergency - please help me
Next
From: Joe Block
Date:
Subject: Re: OSX Install Instructions