Ignore attempts to set "application_name" in the connection startup packet.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 17:41:46 +0000 (17:41 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 17:41:46 +0000 (17:41 +0000)
commit532ae854ccc5527906dccdcbaf7ca5d5c533d8f7
tree904dba022ac844171f049b49d3b318012b8776d3
parentc63dbfff8379622de9def83827a6af610684467a
Ignore attempts to set "application_name" in the connection startup packet.
This avoids a useless connection retry and complaint in the postmaster log
when receiving a connection from 8.5 or later libpq.

Backpatch in all supported branches, but of course *not* HEAD.
src/backend/postmaster/postmaster.c