Re: libpgtcl: pq_recvbuf: unexpected EOF on client connection

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: libpgtcl: pq_recvbuf: unexpected EOF on client connection
Дата
Msg-id 23187.1030982048@sss.pgh.pa.us
обсуждение исходный текст
Ответ на libpgtcl: pq_recvbuf: unexpected EOF on client connection  (g.hintermayer@inode.at (Gerhard Hintermayer))
Список pgsql-interfaces
g.hintermayer@inode.at (Gerhard Hintermayer) writes:
> I constantly keep getting this message in the log files when
> disconnection with pg_disconnect (TCL-interface)

Yeah, I see it too --- though everything's fine if you just exit the
client program without an explicit pg_disconnect.  I think the problem
is that pg_disconnect shouldn't be unregistering the notifier_channel;
I bet TCL thinks it should close the socket when we do that.  Then
the later PQfinish call will be unable to send the normal termination
message to the backend.  Probably the best fix is to move the unregister
call into PgDelConnectionId(), after we do PQfinish.
        regards, tom lane


В списке pgsql-interfaces по дате отправления:

Предыдущее
От: "Teo"
Дата:
Сообщение: Re: pgaccess 0.98.8 beta 1 - the show starts
Следующее
От: Gerhard Hintermayer
Дата:
Сообщение: Re: libpgtcl: pq_recvbuf: unexpected EOF on client connection