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.96) (envelope-from ) id 1veDIy-00ALK5-1O for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Jan 2026 14:17:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1veDHx-007QWv-1n for pgsql-hackers@arkaria.postgresql.org; Fri, 09 Jan 2026 14:16:30 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1veDHx-007QWn-0a for pgsql-hackers@lists.postgresql.org; Fri, 09 Jan 2026 14:16:30 +0000 Received: from mail-oo1-xc33.google.com ([2607:f8b0:4864:20::c33]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1veDHv-005Ti8-1o for pgsql-hackers@lists.postgresql.org; Fri, 09 Jan 2026 14:16:29 +0000 Received: by mail-oo1-xc33.google.com with SMTP id 006d021491bc7-65b6b69baf8so1460699eaf.3 for ; Fri, 09 Jan 2026 06:16:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1767968185; x=1768572985; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=3GemFG2qJfp5/ObO8AJOzVxNLrC/UZsF8e2AahTBTRQ=; b=b/1l/KQZRVfhoBbhw8ZwEejZAjx9UjVlQjeYOGzE82y7wi0gAwnXq0uQwne3qfD9EC 49hKW+bvwQ1K4FvWp5++0w64G0qEw9c3EdkLxostnE9UVi/T731/N1Tx4K524UGAsGuW EVgsudqJ0Icd6mzJC4TO76MkZ8w3aiJFSKkP6CcwbwrTn/Wj3YnauA6f29eIQdfgMK2J hQYizC8eScw7a6A7eRu3ukH7boKbT4YqTgxC62+0cXJkThVzVeBXbvmpGQhjCytvxS5j BzOXHgwNPOFkKcAtv8c5jpg8V6IMLKACYL+Clu6WDsATLfyCo/mO2r2Aw5lBCq9hEcCl unhw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1767968185; x=1768572985; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3GemFG2qJfp5/ObO8AJOzVxNLrC/UZsF8e2AahTBTRQ=; b=ZMVukXAGYI7nIDdUXJvS4ILPVtEQw7Fr8Fy2xqKvBqpEQUwdvHke3Bl4nRJ9myGFft +WEPmrOerAME0LpSoQl+3VavKZlRiPssIKK10cgNHF9inaWhUk3yjNRdzqYrT+OG4ZRM ZkHeFE2LXtXw5IkJiB8ZkdIa8VXupkg0aLJOwj2QwAKOOjZN1g12UQMz96OmbHDeZAMu waLgusBYFjd0wjg5V1ILHwKLZSjDFUIYejmhbcM2IEa6Tj3/feB6/+vwvA6bwve1KdKd hzksycXscPvV7STyG8ZWI9+wRGdYnT/fd3CV5YygR65QsA+XHzyYLPXQJ+QmbPjBCIyz hARA== X-Forwarded-Encrypted: i=1; AJvYcCUpxfSYzdS6wB/fY5AHDETSaeFo3ENF/Vu5GoK70d+qq6ei1EfNqOkAbZ6/zw3F97jWtcw6iqM36hGvqOFY@lists.postgresql.org X-Gm-Message-State: AOJu0YwRi3wzQrO9c5nOe5Po5sO4reawitRgh+lUE9c6W5evlZWynWsJ v4X1wDU5G3Z1vQJN3GqLwpK48gTVvazj/f7Jw4QvvI7CAUK2m4PAuj42PF2eLNSva1CpbjRRvIZ fVTVycUr9JmIAX6ZKgedeyTt+153O8ak= X-Gm-Gg: AY/fxX6JTZ//YyazF0TEkPbRzDr6Qpc+sYv7EisIV459kOC+rEuM7i+cjvJIRu9xxA7 EwPuUFu3T6He4U//RLPlYbRLMUkaOgWX8VdGbG/RZGMsxFa0Qs+21fSYiIKPR+JhyIq9jUofPN0 FlfZkOQCKROLnTpRUMjstEuB7aRCoAiXg7QlHmspcl/kPnh9l8nEO5ZX5l+HOyP6kJjiFigf6Y0 VXIOCvMRtoMBhId8966aw1cz0ULqdrxubXlgeLa9h6eqxJJwSzo5qi4zF+sTiHcrGY9aT1NQxr3 Tj8MqX5pqHQnh9QWsNlFfpf+11X77x40I+B0y9tA X-Google-Smtp-Source: AGHT+IG/kVvszyPfWWk1E7b/2MPMgE71eYxtA4EyD2dNxwko2iQwuat8XWDoCzXhbvU/v1P7V//Q27Uf8NF/S7Dj4qk= X-Received: by 2002:a05:6820:7511:b0:65d:c8e:8408 with SMTP id 006d021491bc7-65f54f5aba4mr4068544eaf.46.1767968184657; Fri, 09 Jan 2026 06:16:24 -0800 (PST) MIME-Version: 1.0 References: <21076.1748617331@localhost> <2724612.1748655287@sss.pgh.pa.us> <11894.1767966998@localhost> In-Reply-To: <11894.1767966998@localhost> From: Greg Sabino Mullane Date: Fri, 9 Jan 2026 09:15:48 -0500 X-Gm-Features: AZwV_QiyrQsuYmYYCFhNn1W-AuI2MlA-5S_Ys7ZLC5frgOsUk8OAUUswe7SbT1s Message-ID: Subject: Re: POC: Carefully exposing information without authentication To: Antonin Houska Cc: Tom Lane , "pgsql-hackers@lists.postgresql.org" Content-Type: multipart/alternative; boundary="0000000000009eec5e0647f52bfa" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000009eec5e0647f52bfa Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, Jan 9, 2026 at 8:56=E2=80=AFAM Antonin Houska wrot= e: > 1. Add a new field to the PGconn structure This kind of defeats one of the major strengths of this patch, which is allowing systems that don't speak the protocol to get at this information. > Regarding configuration, I'd prefer a single GUC. The value can be a > comma-separated list of keywords, each representing particular piece of > information to be exposed. > Yes, I could see some advantages to that, although I still like the simplicity of separate boolean values. I've no strong feelings either way. Let's see if others weigh in. Thanks for looking over this patch! Cheers, Greg --0000000000009eec5e0647f52bfa Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, Jan 9, 2026 at 8:56=E2=80=AFAM An= tonin Houska <ah@cybertec.at> w= rote:
1. Add a new field to the PGconn structure

= This kind of defeats one of the major strengths of this patch, which is all= owing systems that don't speak the protocol to get at this information.= =C2=A0
=C2=A0
Regarding configuration, I'd prefer a single GUC. The value can be = a comma-separated list of keywords, each representing particular piece of i= nformation to be exposed.

Yes, I could = see some advantages to that, although=C2=A0I still like the simplicity of s= eparate boolean values. I've no strong feelings either way. Let's s= ee if others weigh in.

Thanks for looking=C2=A0ove= r this patch!

Cheers,
Greg

--0000000000009eec5e0647f52bfa--