Partial solution for 'unexpected EOF' problem with pg_disconnect: it
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/interfaces/libpgtcl/pgtclCmds.c | modified | +6 −8 |
| src/interfaces/libpgtcl/pgtclId.c | modified | +30 −5 |