Ignore attempts to set "application_name" in the connection startup packet.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8fa541943a2f1335111111d269fe30253cd78235
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-12-02T17:42:02Z
Releases: 7.4.27
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.

Files

PathChange+/−
src/backend/postmaster/postmaster.c modified +3 −1