mirror of
https://github.com/postgres/postgres.git
synced 2025-07-12 21:01:52 +03:00
Use errmsg_internal for debug messages
An inconsistent set of debug-level messages was not using errmsg_internal(), thus uselessly exposing the messages to translation work. Fix those.
This commit is contained in:
@ -236,12 +236,12 @@ PGSharedMemoryCreate(Size size,
|
||||
(errcode(ERRCODE_FEATURE_NOT_SUPPORTED),
|
||||
errmsg("the processor does not support large pages")));
|
||||
ereport(DEBUG1,
|
||||
(errmsg("disabling huge pages")));
|
||||
(errmsg_internal("disabling huge pages")));
|
||||
}
|
||||
else if (!EnableLockPagesPrivilege(huge_pages == HUGE_PAGES_ON ? FATAL : DEBUG1))
|
||||
{
|
||||
ereport(DEBUG1,
|
||||
(errmsg("disabling huge pages")));
|
||||
(errmsg_internal("disabling huge pages")));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user