mirror of
https://github.com/postgres/postgres.git
synced 2025-12-24 06:01:07 +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:
@@ -697,7 +697,7 @@ apw_dump_now(bool is_bgworker, bool dump_unlogged)
|
||||
apw_state->pid_using_dumpfile = InvalidPid;
|
||||
|
||||
ereport(DEBUG1,
|
||||
(errmsg("wrote block details for %d blocks", num_blocks)));
|
||||
(errmsg_internal("wrote block details for %d blocks", num_blocks)));
|
||||
return num_blocks;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user