Re: Improve logging when using Huge Pages - Mailing list pgsql-hackers

From Fujii Masao
Subject Re: Improve logging when using Huge Pages
Date
Msg-id f5d8ab35-a44d-2f28-b86f-cd939c1000c4@oss.nttdata.com
Whole thread Raw
In response to Re: Improve logging when using Huge Pages  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses RE: Improve logging when using Huge Pages
List pgsql-hackers

On 2021/09/03 23:27, Tom Lane wrote:
> Fujii Masao <masao.fujii@oss.nttdata.com> writes:
>> IMO, if the level is promoted to LOG, the message should be updated
>> so that it follows the error message style guide. But I agree that simpler
>> message would be better in this case. So what about something like
>> the following?
> 
>> LOG: could not map anonymous shared memory (%zu bytes) with huge pages enabled
>> HINT: The server will map anonymous shared memory again with huge pages disabled.
> 
> That is not a hint.  Maybe it qualifies as errdetail, though.

Yes, agreed.

Regards,

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



pgsql-hackers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: Re: A reloption for partitioned tables - parallel_workers
Next
From: Fujii Masao
Date:
Subject: Re: Allow escape in application_name (was: [postgres_fdw] add local pid to fallback_application_name)