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 1wVWM4-0021Gk-0r for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jun 2026 15:21:04 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wVWM3-00D6Z5-0Q for pgsql-hackers@arkaria.postgresql.org; Fri, 05 Jun 2026 15:21:03 +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 1wVWM2-00D6Yw-2c for pgsql-hackers@lists.postgresql.org; Fri, 05 Jun 2026 15:21:02 +0000 Received: from mail-ed1-x533.google.com ([2a00:1450:4864:20::533]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wVWLz-00000001RLo-3hcq for pgsql-hackers@lists.postgresql.org; Fri, 05 Jun 2026 15:21:01 +0000 Received: by mail-ed1-x533.google.com with SMTP id 4fb4d7f45d1cf-68b482888c3so4425390a12.0 for ; Fri, 05 Jun 2026 08:20:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1780672858; cv=none; d=google.com; s=arc-20240605; b=ky23uFnrSWTJpT8Xd8QVdcwPZIgh2E7IeZNUGGMQdm3uAnvLd4/H3pHDZ39CADCfgO HLKcOa/TFVKFAZ2sNr56G/2MBTMiAE3735WOLII9QnRLOe5Y1YBEgYlO/bp1xL3s//vG gIcB50j6Sv3o/Gzg2a3otT6NhDoY24gfXVF/mtX1SZT3kl9H3VvetKa2QZLmJp6JMyXp 4y6USbvhWXINbhLzJtNOvX5txXP7Y+nGtSigg1keKT2261FnX6KaW7ct7QrqjqRzzMwD H2624T4WZcAKH6afPdBK0g5YZizFmyJKCv8rOhAaxf1VKtcaG2eAh07WkWaTDNlkOZra FARA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=+d+C67llykSj1+fN39tOJ7x74OCz6iPm8ZJdjWSJkVc=; fh=4cvmDyEoaZ9e0YU7xi+vQox5rLevjoEwnTTEC5mlBTg=; b=P6KBAq4ubZUWPqtl+4Q6BAPhDJ0c/pfNPGexlJ7XXp76fFCOO7WdXOxQin2J/OTTJI S1NtXioOVTMq2mn7dd/N8UmAJRYziLSOvEyGR79QDDL1v8pZ4dIfVyqsCbUWhvYjU6Qj +O/6JmSU30a9m/7QZrLinldeDk52w6f00Pq+SZr13gklUyqV+h0i7JKOpTjLfyhYBeaA UrC7qC6mnGYqh6kEyNnGSE0mIoxZLAG1sfB4ReT4LXEUDVrfa7+h6yYfoItYU4GyOQn+ AB9Y9hrSVAYCEil27Nz5PzwP/U8FT5hOAk/GKnD+yMXYazabn48zIjiRtzOBtwwIjO5c juCA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1780672858; x=1781277658; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=+d+C67llykSj1+fN39tOJ7x74OCz6iPm8ZJdjWSJkVc=; b=SLNGD7a5hjTzks7ES4ZAS5nUm1YvcGZWOeR4VANBhHzmXNt1GQNTmtpNyy+bNx9mj6 1PTmZCT0dS43hvJllew4E+cjT95CDjSrbftPQ8zeey2/P7HpPCSG72itqBvYsLCB5INP 5dSt4ADcEp441vj3Bp0xSQmhZkWBUz77FOuanPFx91YaqeFqhkVUahW23tcO+5Gq0ovF cbGJ0WgfS5PTGCTEEM3QNHuZxxFlhqW+sQoE1cWGAB6ywi+snYW6zMMMRy4wXgbDBy0n q7mSJqnFQdkiH0+pU67mGc7enB9CHT7lyeIeRZuF+80oXw411dRWRMpG5ReB10eKDUh3 d2Uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1780672858; x=1781277658; h=content-transfer-encoding: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=+d+C67llykSj1+fN39tOJ7x74OCz6iPm8ZJdjWSJkVc=; b=l7oDpkZvCygfGoen32edQuhjY91zJcu7yuGWRGJzqy+LWf40Vrk6DT5UNnaS7Gfhnr PbhIEX3CLHKGzzOo+YYjaiExQw6wh5aqX1ZK3VgmHY7xVmEsul7valBKOUzsd3ivv+8q pgvmF4NixWK/9VTFNaR2XXZbjgtU7HehPk5H9YnpU19dLQMC2mYoWCHbuTXtzXD/clMU YVZxYubiTdQCyspkRGCsqtirr6jpz4HEyuMh4eZGrCHA8uv5j3QJuhEI9E+k3La20er4 NQBU50/nhAtP+vd9rzDMwtHovyFEdy0HBCKwIAySxswltXXVsTnEtBZ8v+UMv7zIGqb/ HZFw== X-Forwarded-Encrypted: i=1; AFNElJ8MuKbeFdKcpG/J9Wm3eRh2g8YguXSsOPKUO3aR/sSRJJ4sUusIohQvKA8O8C9aOdcrFam9A5E9p9VMpQto@lists.postgresql.org X-Gm-Message-State: AOJu0YwTXq2GAG1SmyCtSzG8n1B5AR5Ieysq2z09BnoRy55d+nMO+ETq pNLvDZrWXCOMWbTNWme5kWtIBFd/BjKYWP0mwne+CT/Jbip9iakSQNFb17l03tw9fq5HIt38uOS QY42AnkM9euNtZWIYykViWsN6hSU7TEwlxwryIrJM X-Gm-Gg: Acq92OGxOeixhzw4dr4N9sguoM3GHzXCcVX+5rCitS41DAIA+6pTbebxmN0G3x9Bvp2 8ENREel5YOHfWNu7L5uSrnaIwmH/e1KoBdGfEWxUje5RFk4Dg3LtCopCh9UTmeuFUY/TOCsDi+7 c5W4kCAHf2R6rINy8MUzPMoWl/h814zVKBzok0xAz6M4MnOqkqUc+eRr76YVpB2vUgr/dp2ViWT tqEmcKGWXv2J5NKisJ64B3y49k+OpZXcIkbG5qXMnuipaI24ieoH/PZjYK/lIunQWAYsEe47jNm MAM+lKNvMRVLCc2y4gnX X-Received: by 2002:a17:907:280f:b0:bec:bd4f:e497 with SMTP id a640c23a62f3a-bf3a841de9amr99130766b.12.1780672857974; Fri, 05 Jun 2026 08:20:57 -0700 (PDT) MIME-Version: 1.0 References: <396C3BEE-CD4D-450A-8D28-E708E9AA4075@gmail.com> <3592596.1780670596@sss.pgh.pa.us> In-Reply-To: <3592596.1780670596@sss.pgh.pa.us> From: Jacob Champion Date: Fri, 5 Jun 2026 08:20:44 -0700 X-Gm-Features: AVVi8CcawTBPY_-DrFXBl6KEphfIHL-9AmSWc1pNv28MlEj9hKV-d3wED6s3-EA Message-ID: Subject: Re: Prevent remote libpq notices from being sent to clients To: Tom Lane Cc: Fujii Masao , Chao Li , Postgres hackers , vignesh C Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Fri, Jun 5, 2026 at 7:43=E2=80=AFAM Tom Lane wrote: > Also, I don't buy the argument that this is a "leak": if the remote > server was willing to send the message to its client, it doesn't think > that the message is security-critical. I don't think the remote gets to decide that, in general. It's up to the middle layer to know whether it's operating at the same level of trust as the end client. --Jacob