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-15 18:47:32
Message-ID: 006c01c22c30$1487ed60$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

Browse pgsql-general by date

  From Date Subject
Next Message pgsql-general 2002-07-15 19:01:03 Question: merit / feasibility of compressing frontend <--> backend transfers w/ zlib
Previous Message Bruce Momjian 2002-07-15 18:15:48 Re: Tom, I've got an emergency - please help me