From: Tom Lane <tgl@sss.pgh.pa.us>
To: g.hintermayer@inode.at
Cc: pgsql-interfaces@postgresql.org
Subject: Re: libpgtcl: pq_recvbuf: unexpected EOF on client connection
Date: Mon, 02 Sep 2002 11:54:08 -0400
Message-ID: <23187.1030982048@sss.pgh.pa.us> (raw)
In-Reply-To: <bd4db85f.0209020045.5ec5203d@posting.google.com>
References: <bd4db85f.0209020045.5ec5203d@posting.google.com>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-interfaces@postgresql.org
Cc: tgl@sss.pgh.pa.us, g.hintermayer@inode.at
Subject: Re: libpgtcl: pq_recvbuf: unexpected EOF on client connection
In-Reply-To: <23187.1030982048@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox