Getting postmaster: StreamConnection: accept: The connection was aborted

Поиск
Список
Период
Сортировка
От Jeff Lu
Тема Getting postmaster: StreamConnection: accept: The connection was aborted
Дата
Msg-id 026b01c22aaa$5becd5d0$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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [BUGS] It is a bug in pred_test()! (Was: [SQL] Please, HELP! Why is the query plan so wrong???)
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Thanks