]> granicus.if.org Git - postgresql/commit
Don't log incomplete startup packet if it's empty
authorAndrew Dunstan <andrew@dunslane.net>
Wed, 6 Mar 2019 20:27:19 +0000 (15:27 -0500)
committerAndrew Dunstan <andrew@dunslane.net>
Wed, 6 Mar 2019 20:36:41 +0000 (15:36 -0500)
commit342cb650e0ffc7a007a12a419be04d47da4bd8cc
treee6c9e43f1907d72c5e0f74fdd3316fcc5099e4c1
parentb1723423216749be9b28f8430c3b7180dec3fa70
Don't log incomplete startup packet if it's empty

This will stop logging cases where, for example, a monitor opens a
connection and immediately closes it. If the packet contains any data an
incomplete packet will still be logged.

Author: Tom Lane

Discussion: https://postgr.es/m/a1379a72-2958-1ed0-ef51-09a21219b155@2ndQuadrant.com
src/backend/postmaster/postmaster.c