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

From Tom Lane
Subject Re: Improve logging when using Huge Pages
Date
Msg-id 2498302.1630679233@sss.pgh.pa.us
Whole thread Raw
In response to Re: Improve logging when using Huge Pages  (Fujii Masao <masao.fujii@oss.nttdata.com>)
Responses Re: Improve logging when using Huge Pages
List pgsql-hackers
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.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: using an end-of-recovery record in all cases
Next
From: Robert Haas
Date:
Subject: Re: [Proposal] Fully WAL logged CREATE DATABASE - No Checkpoints