Getting postmaster: StreamConnection: accept: The connection was aborted

From: "Jeff Lu" <jklcom(at)mindspring(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Getting postmaster: StreamConnection: accept: The connection was aborted
Date: 2002-07-13 20:17:48
Message-ID: 026b01c22aaa$5becd5d0$1501a8c0@DemoServer
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sean Reifschneider 2002-07-14 00:33:58 Weird (?) happenings with locks and limits?
Previous Message Tom Lane 2002-07-13 19:27:27 Re: It is a bug in pred_test()! (Was: [SQL] Please, HELP! Why is the query plan so wrong???)