Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOK37-0004Wl-Du for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Aug 2022 14:29:37 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oOK34-00022j-IP for pgsql-hackers@arkaria.postgresql.org; Wed, 17 Aug 2022 14:29:34 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOK34-00022S-9C for pgsql-hackers@lists.postgresql.org; Wed, 17 Aug 2022 14:29:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oOK2z-0005rB-Gv for pgsql-hackers@lists.postgresql.org; Wed, 17 Aug 2022 14:29:31 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 27HETQNS1768714; Wed, 17 Aug 2022 10:29:26 -0400 From: Tom Lane To: Bruce Momjian cc: Kyotaro Horiguchi , michael@paquier.xyz, pgsql-hackers@lists.postgresql.org Subject: Re: Setting log_connection in connection string doesn't work In-reply-to: References: <80426.1635255552@sss.pgh.pa.us> <20211027.102405.1336553917010534751.horikyota.ntt@gmail.com> <20211027.115309.1302464757802948949.horikyota.ntt@gmail.com> Comments: In-reply-to Bruce Momjian message dated "Wed, 17 Aug 2022 10:23:06 -0400" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1768712.1660746566.1@sss.pgh.pa.us> Date: Wed, 17 Aug 2022 10:29:26 -0400 Message-ID: <1768713.1660746566@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Bruce Momjian writes: > This patch is from October of 2021. I don't see any commitfest entry > for it. Should it be applied? I think we decided not to. The original argument for having these be PGC_SU_BACKEND was to try to ensure that you got matching connection and disconnection log entries for any one session, and I don't see anything that supersedes that plan. regards, tom lane