Fujii-san, Sawada-san,

Thank you for your comment.

> Also, with the patch, the log message is emitted also during initdb and 
> starting up in single user mode:

Certainly the log output when executing the initdb command was a noise.
The attached patch reflects the comments and uses IsPostmasterEnvironment to 
suppress the output message.

Regards,
Noriyoshi Shinoda

-----Original Message-----
From: Fujii Masao [mailto:[email protected]] 
Sent: Tuesday, November 2, 2021 1:25 AM
To: Masahiko Sawada <[email protected]>; Shinoda, Noriyoshi (PN Japan FSIP) 
<[email protected]>
Cc: [email protected]; [email protected]; [email protected]; 
Kyotaro Horiguchi <[email protected]>; Justin Pryzby 
<[email protected]>
Subject: Re: Improve logging when using Huge Pages



On 2021/10/29 16:00, Masahiko Sawada wrote:
> Which is noisy. Perhaps it's better to log it only when 
> IsPostmasterEnvironment is true.

+1

Regards,

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

Attachment: huge_pages_log_v8.diff
Description: huge_pages_log_v8.diff

Reply via email to