| От | gateley@jriver.com |
|---|---|
| Тема | psql & "unexpected EOF on client connection" |
| Дата | |
| Msg-id | 3A787BC6.F6F28FAE@jriver.com обсуждение исходный текст |
| Ответы |
Re: psql & "unexpected EOF on client connection"
|
| Список | pgsql-bugs |
Hi Y'all.
I have been getting the dreaded "unexpected EOF on client
connection" in my system logs, but the surprising thing is that
it comes from psql (I think). I am executing psql
via a 'system' system call, and about 1 time out of 20 I get
the "unexpected EOF" message. Unfortunately, this
also causes the 'system' call to return an error, even though
all SQL code was executed properly. (After searching
postgresql.org I found out that the message normally
means that PGfinish wasn't called.)
the exact code in question is:
res=system("/usr/bin/psql <a-file-name");
Gory details available on request.
Thanks for any help,
John Gateley
gateley@jriver.com, J. River, Inc.
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера