MEDIUM: connections: Kill connections even if we are reusing one.
authorOlivier Houchard <cognet@ci0.org>
Mon, 16 Mar 2020 12:49:00 +0000 (13:49 +0100)
committerOlivier Houchard <cognet@ci0.org>
Thu, 19 Mar 2020 21:07:34 +0000 (22:07 +0100)
commitb3397367dc7cec9e78c62c54efc24d9db5cde2d2
tree8b20956234fbfe39383d6c570165f77307b7e8b6
parenta41bb0b6c45e0c596fbf6ea92ae611b123a00b15
MEDIUM: connections: Kill connections even if we are reusing one.

In connect_server(), if we notice we have more file descriptors opened than
we should, there's no reason not to close a connection just because we're
reusing one, so do it anyway.
src/backend.c