Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rC5VR-00E06f-Io for pgsql-admin@arkaria.postgresql.org; Sat, 09 Dec 2023 22:09:05 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rC5VP-003igK-80 for pgsql-admin@arkaria.postgresql.org; Sat, 09 Dec 2023 22:09:03 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rC5VO-003igC-Sj for pgsql-admin@lists.postgresql.org; Sat, 09 Dec 2023 22:09:02 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rC5VL-009czl-EK for pgsql-admin@lists.postgresql.org; Sat, 09 Dec 2023 22:09:01 +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 3B9M8rbA1750353; Sat, 9 Dec 2023 17:08:53 -0500 From: Tom Lane To: Achilleas Mantzios cc: pgsql-admin@lists.postgresql.org Subject: Re: application_name backend (not) reporting back to the client : pgbouncer, PgSQL 16.1, pgbouncer 1.21.0 In-reply-to: References: <1436714.1702046865@sss.pgh.pa.us> <06bf30c8-371e-5575-e1cc-a6dc1140b8af@cloud.gatewaynet.com> <1454680.1702054572@sss.pgh.pa.us> <1552992.1702076062@sss.pgh.pa.us> <0028c29e-26f3-48e7-9201-f94d2579b9ba@cloud.gatewaynet.com> Comments: In-reply-to Achilleas Mantzios message dated "Sat, 09 Dec 2023 23:38:39 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1750351.1702159733.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Sat, 09 Dec 2023 17:08:53 -0500 Message-ID: <1750352.1702159733@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Achilleas Mantzios writes: > Hi again, I am puzzled with your observations, this is what I get with = > psql straight against PostgreSQL no pgbouncer involved : > command : > psql "postgresql://amantzio@localhost:5432/dynacom?application_name=3D" > ... > public.S....is_superuser.on.S....application_name..S...&default_transact= ion_read_only.off.S....scram_iterations.4096.S....DateStyle.ISO, = ^^^^^^^^^^^^^^^^^^^^^^^ I see the report of application_name with an empty-string value right there. > the client does not send the application_name I do not know what you mean by that, but maybe your client code has some special-case behavior for an empty string? regards, tom lane