1
0
mirror of https://github.com/postgres/postgres.git synced 2025-08-24 09:27:52 +03:00

Message style improvements

This commit is contained in:
Peter Eisentraut
2013-08-07 22:48:40 -04:00
parent b5a20ab3e0
commit 92d003fcbf
5 changed files with 6 additions and 6 deletions

View File

@@ -5165,7 +5165,7 @@ RegisterBackgroundWorker(BackgroundWorker *worker)
if (!IsUnderPostmaster)
ereport(LOG,
(errmsg("registering background worker: %s", worker->bgw_name)));
(errmsg("registering background worker \"%s\"", worker->bgw_name)));
if (!process_shared_preload_libraries_in_progress)
{
@@ -5277,7 +5277,7 @@ BackgroundWorkerInitializeConnection(char *dbname, char *username)
/* it had better not gotten out of "init" mode yet */
if (!IsInitProcessingMode())
ereport(ERROR,
(errmsg("invalid processing mode in bgworker")));
(errmsg("invalid processing mode in background worker")));
SetProcessingMode(NormalProcessing);
}