Partial solution for 'unexpected EOF' problem with pg_disconnect: it

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 00482fde8eb5318c067ec88c4aece08d4ff35db0
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2002-09-02T23:41:17Z
Releases: 7.3.1
Partial solution for 'unexpected EOF' problem with pg_disconnect: it
seems we have a choice between annoying messages and leaking memory
(or dumping core, but that's right out).  Patch also fixes several
other problems in pg_disconnect, such as being willing to close a
channel that isn't a PG channel.

Files

PathChange+/−
src/interfaces/libpgtcl/pgtclCmds.c modified +6 −8
src/interfaces/libpgtcl/pgtclId.c modified +30 −5