Send the Termination message when closing a connection.
Send the Termination message when closing a connection.

The Postgresql server expects the client to end the connection by
first sending a Termination message ('X') followed up by closing the
socket. The server logs a "unexpected EOF on client connection" warning
if the socket is closed without the preceding Termination message.

bmizerany/pq,johto/pq,amaniak/pq,everalbum/pq,flynn/pq,ympons/pq,dongzerun/pq,jnewmano/pq,uhoh-itsmaciek/pq,erichnascimento/pq,stvp/pq,henrylee2cn/pq,VividCortex/pq,lib/pq,ScriptRock/pq,bugreplaydev/pq,sammi/pq,ld9999999999/pqpooling,springning/pq,cbandy/go-pq,c9s/pq,calebthompson/pq,beni55/pq,StabbyCutyou/pq,ympons/pq,bugreplaydev/pq,jnewmano/pq