On Fri, Jun 5, 2026 at 6:32 PM Chao Li <[email protected]> wrote:
> So remote messages should only be output to the server log, but currently 
> they can leak to the client if client_min_messages is set to log.

I'm not sure whether it's good idea to add this limitation.

I just thought that some users might find it useful to send log messages
containing remote messages to the client when needed. For example,
in the following case, at least for me it seems helpful to see the LOG
message including the remote message:

    =# SELECT * FROM dblink_exec(..., 'create table if not exists t(i int)');
    LOG:  received message via remote connection: NOTICE:  relation
"t" already exists, skipping

So I'd like to hear more opinions from others. If the consensus is that
remote messages should never be sent to the client, I'm fine with
adding the limitation.

Regards,

-- 
Fujii Masao


Reply via email to