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

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

Commit: 2e7e4ab945109af9169cd3abb068f6b58a190d9e
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-12-02T17:41:39Z
Releases: 8.2.15
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