Getting postmaster: StreamConnection: accept: The connection was aborted

Поиск
Список
Период
Сортировка
От Jeff Lu
Тема Getting postmaster: StreamConnection: accept: The connection was aborted
Дата
Msg-id 006c01c22c30$1487ed60$1501a8c0@DemoServer
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Tom, I've got an emergency - please help me
Следующее
От: Joe Block
Дата:
Сообщение: Re: OSX Install Instructions