When closure of the backend connection is detected during pqFlush,
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 1999 01:54:53 +0000 (01:54 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 28 May 1999 01:54:53 +0000 (01:54 +0000)
commit8c4f6d92514760f359b582066899118f0a3be90b
treeba027dfe31815c67cf089139e664f741de51985d
parentcd97be2b58b6ef6c8ecc057bb5f26da9844a45f6
When closure of the backend connection is detected during pqFlush,
do the right thing: look for a NOTICE message from the backend before we
close our side of the socket.  6.4 libpq did not reliably print the backend's
hara-kiri message, 'The Postmaster has informed me ...', because it only
did the right thing if connection closure was detected during a read
attempt instead of a write attempt.
src/interfaces/libpq/fe-exec.c
src/interfaces/libpq/fe-misc.c