summaryrefslogtreecommitdiff
path: root/src/backend/storage
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/storage')
-rw-r--r--src/backend/storage/buffer/bufmgr.c6
-rw-r--r--src/backend/storage/ipc/sinvaladt.c2
-rw-r--r--src/backend/storage/lmgr/proc.c2
-rw-r--r--src/backend/storage/smgr/smgrtype.c2
4 files changed, 6 insertions, 6 deletions
diff --git a/src/backend/storage/buffer/bufmgr.c b/src/backend/storage/buffer/bufmgr.c
index b12348b39dd..5eb61863436 100644
--- a/src/backend/storage/buffer/bufmgr.c
+++ b/src/backend/storage/buffer/bufmgr.c
@@ -952,7 +952,7 @@ MarkBufferDirty(Buffer buffer)
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
if (BufferIsLocal(buffer))
{
@@ -2198,7 +2198,7 @@ ReleaseBuffer(Buffer buffer)
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
ResourceOwnerForgetBuffer(CurrentResourceOwner, buffer);
@@ -2270,7 +2270,7 @@ SetBufferCommitInfoNeedsSave(Buffer buffer)
volatile BufferDesc *bufHdr;
if (!BufferIsValid(buffer))
- elog(ERROR, "bad buffer id: %d", buffer);
+ elog(ERROR, "bad buffer ID: %d", buffer);
if (BufferIsLocal(buffer))
{
diff --git a/src/backend/storage/ipc/sinvaladt.c b/src/backend/storage/ipc/sinvaladt.c
index 1df20c47320..4f446aab7a4 100644
--- a/src/backend/storage/ipc/sinvaladt.c
+++ b/src/backend/storage/ipc/sinvaladt.c
@@ -323,7 +323,7 @@ SharedInvalBackendInit(bool sendOnly)
/* register exit routine to mark my entry inactive at exit */
on_shmem_exit(CleanupInvalidationState, PointerGetDatum(segP));
- elog(DEBUG4, "my backend id is %d", MyBackendId);
+ elog(DEBUG4, "my backend ID is %d", MyBackendId);
}
/*
diff --git a/src/backend/storage/lmgr/proc.c b/src/backend/storage/lmgr/proc.c
index ee033160508..8c399ec1684 100644
--- a/src/backend/storage/lmgr/proc.c
+++ b/src/backend/storage/lmgr/proc.c
@@ -1005,7 +1005,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
{
int pid = autovac->pid;
- elog(DEBUG2, "sending cancel to blocking autovacuum pid = %d",
+ elog(DEBUG2, "sending cancel to blocking autovacuum PID %d",
pid);
/* don't hold the lock across the kill() syscall */
diff --git a/src/backend/storage/smgr/smgrtype.c b/src/backend/storage/smgr/smgrtype.c
index ec3292afcd8..ea7bf496daf 100644
--- a/src/backend/storage/smgr/smgrtype.c
+++ b/src/backend/storage/smgr/smgrtype.c
@@ -54,7 +54,7 @@ smgrout(PG_FUNCTION_ARGS)
char *s;
if (i >= NStorageManagers || i < 0)
- elog(ERROR, "invalid storage manager id: %d", i);
+ elog(ERROR, "invalid storage manager ID: %d", i);
s = pstrdup(StorageManager[i].smgr_name);
PG_RETURN_CSTRING(s);