pgsql: Ignore attempts to set "application_name" in the connection

Started by Tom Laneover 16 years ago1 messagescomitters
Jump to latest
#1Tom Lane
tgl@sss.pgh.pa.us

Log Message:
-----------
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.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
pgsql/src/backend/postmaster:
postmaster.c (r1.347.2.3 -> r1.347.2.4)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.347.2.3&r2=1.347.2.4)