mirror of
https://github.com/postgres/postgres.git
synced 2025-11-09 06:21:09 +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:
@@ -425,7 +425,7 @@ SyncRepInitConfig(void)
|
||||
SpinLockRelease(&MyWalSnd->mutex);
|
||||
|
||||
ereport(DEBUG1,
|
||||
(errmsg("standby \"%s\" now has synchronous standby priority %u",
|
||||
(errmsg_internal("standby \"%s\" now has synchronous standby priority %u",
|
||||
application_name, priority)));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user