pgsql: Ignore attempts to set "application_name" in the connection - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Ignore attempts to set "application_name" in the connection
Date
Msg-id 20091202174107.256C4753FB7@cvs.postgresql.org
Whole thread Raw
List 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:
----
REL8_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        postmaster.c (r1.583.2.6 -> r1.583.2.7)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/postmaster.c?r1=1.583.2.6&r2=1.583.2.7)

pgsql-committers by date:

Previous
From: momjian@postgresql.org (Bruce Momjian)
Date:
Subject: pgsql: thread-safety Apply full patch to enable thread-safety by
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Ignore attempts to set "application_name" in the connection