Movatterモバイル変換


[0]ホーム

URL:


Quick Links

pg_log_backend_memory_contexts() and log level

From:Fujii Masao <masao(dot)fujii(at)oss(dot)nttdata(dot)com>
To:pgsql-hackers(at)postgresql(dot)org
Subject:pg_log_backend_memory_contexts() and log level
Date:2022-01-26 04:17:43
Message-ID:82c12f36-86f7-5e72-79af-7f5c37f6cad7@oss.nttdata.com
Views:Whole Thread |Raw Message |Download mbox |Resend email
Thread:
Lists:pgsql-hackers

Hi,

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

Regards,

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

AttachmentContent-TypeSize
log_level_pg_log_backend_memory_contexts_v1.patchtext/plain694 bytes

Responses

Browse pgsql-hackers by date

 FromDateSubject
Next MessageDavid G. Johnston2022-01-26 04:43:37Re: Skipping logical replication transactions on subscriber side
Previous MessageAmit Kapila2022-01-26 04:15:51Re: Skipping logical replication transactions on subscriber side

[8]ページ先頭

©2009-2026 Movatter.jp