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

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ignore attempts to set "application_name" in the connection
Date: 2009-12-02 17:42:02
Message-ID: 20091202174202.6EB53753FBC@cvs.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2009-12-02 21:11:12 pgsql: Clarify what's supposed to happen when a cursor FETCH is rolled
Previous Message Tom Lane 2009-12-02 17:41:53 pgsql: Ignore attempts to set "application_name" in the connection