Re: Prevent remote libpq notices from being sent to clients - Mailing list pgsql-hackers

From Jacob Champion
Subject Re: Prevent remote libpq notices from being sent to clients
Date
Msg-id CAOYmi+nqE5ZoSEi9gJjVtEYS9xjVmELpfgedm5ajaEdSa=Hbpw@mail.gmail.com
Whole thread
Responses Re: Prevent remote libpq notices from being sent to clients
List pgsql-hackers
On Fri, Jun 5, 2026 at 7:43 AM Tom Lane <tgl@sss.pgh.pa.us> 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



pgsql-hackers by date:

Previous
From: Lætitia AVROT
Date:
Subject: Re: [Bug Report + Patch] File descriptor leak when io_method=io_uring
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Heads Up: cirrus-ci is shutting down June 1st