Ignore attempts to set "application_name" in the connection startup packet.
authorTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 17:42:02 +0000 (17:42 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Wed, 2 Dec 2009 17:42:02 +0000 (17:42 +0000)
commit8fa541943a2f1335111111d269fe30253cd78235
tree7a7313bd026bfd42a4cc1f04287af9e9a3d75173
parentb88ad6ef962e7990a19184dd6053c765e19939e4
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