pg_log_backend_memory_contexts() and log level - Mailing list pgsql-hackers

From Fujii Masao
Subject pg_log_backend_memory_contexts() and log level
Date
Msg-id 82c12f36-86f7-5e72-79af-7f5c37f6cad7@oss.nttdata.com
Whole thread Raw
Responses Re: pg_log_backend_memory_contexts() and log level
Re: pg_log_backend_memory_contexts() and log level
List pgsql-hackers
Hi,

pg_log_backend_memory_contexts() should be designed not to send the messages about the memory contexts to the client
regardlessof client_min_messages. But I found that the message "logging memory contexts of PID %d" can be sent to the
clientbecause it's ereport()'d with LOG level instead of LOG_SERVER_ONLY. Is this a bug, and shouldn't we use
LOG_SERVER_ONLYlevel to log that message? Patch attached.
 

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION
Attachment

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: Skipping logical replication transactions on subscriber side
Next
From: "David G. Johnston"
Date:
Subject: Re: Skipping logical replication transactions on subscriber side