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

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

Commit: 532ae854ccc5527906dccdcbaf7ca5d5c533d8f7
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2009-12-02T17:41:46Z
Releases: 8.1.19
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