Skip to content

Commit 8a8fbe7

Browse files
committed
Capitalization fixes
1 parent 223d14a commit 8a8fbe7

File tree

18 files changed

+26
-26
lines changed

18 files changed

+26
-26
lines changed

doc/src/sgml/config.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ SET ENABLE_SEQSCAN TO OFF;
259259
</indexterm>
260260
<listitem>
261261
<para>
262-
Specifies the name of an additional process-id (PID) file that the
262+
Specifies the name of an additional process-ID (PID) file that the
263263
server should create for use by server administration programs.
264264
This parameter can only be set at server start.
265265
</para>

doc/src/sgml/libpq.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6116,7 +6116,7 @@ myEventProc(PGEventId evtId, void *evtInfo, void *passThrough)
61166116
break;
61176117
}
61186118

6119-
/* unknown event id, just return TRUE. */
6119+
/* unknown event ID, just return TRUE. */
61206120
default:
61216121
break;
61226122
}
@@ -7553,7 +7553,7 @@ main(int argc, char **argv)
75537553
while ((notify = PQnotifies(conn)) != NULL)
75547554
{
75557555
fprintf(stderr,
7556-
"ASYNC NOTIFY of '%s' received from backend pid %d\n",
7556+
"ASYNC NOTIFY of '%s' received from backend PID %d\n",
75577557
notify->relname, notify->be_pid);
75587558
PQfreemem(notify);
75597559
nnotifies++;

doc/src/sgml/plpgsql.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3174,7 +3174,7 @@ RAISE NOTICE 'Calling cs_create_job(%)', v_job_id;
31743174
and hint:
31753175
<programlisting>
31763176
RAISE EXCEPTION 'Nonexistent ID --> %', user_id
3177-
USING HINT = 'Please check your user id';
3177+
USING HINT = 'Please check your user ID';
31783178
</programlisting>
31793179
</para>
31803180

doc/src/sgml/spi.sgml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1231,7 +1231,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
12311231

12321232
<para>
12331233
<function>SPI_getargtypeid</function> returns the OID representing the type
1234-
id for the <parameter>argIndex</parameter>'th argument of a plan prepared by
1234+
for the <parameter>argIndex</parameter>'th argument of a plan prepared by
12351235
<function>SPI_prepare</function>. First argument is at index zero.
12361236
</para>
12371237
</refsect1>
@@ -1263,7 +1263,7 @@ Oid SPI_getargtypeid(SPIPlanPtr <parameter>plan</parameter>, int <parameter>argI
12631263
<refsect1>
12641264
<title>Return Value</title>
12651265
<para>
1266-
The type id of the argument at the given index.
1266+
The type OID of the argument at the given index.
12671267
If the <parameter>plan</parameter> is <symbol>NULL</symbol> or invalid,
12681268
or <parameter>argIndex</parameter> is less than 0 or
12691269
not less than the number of arguments declared for the

doc/src/sgml/storage.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ last started with</entry>
121121

122122
<row>
123123
<entry><filename>postmaster.pid</></entry>
124-
<entry>A lock file recording the current postmaster process id (PID),
124+
<entry>A lock file recording the current postmaster process ID (PID),
125125
cluster data directory path,
126126
postmaster start timestamp,
127127
port number,

src/backend/bootstrap/bootparse.y

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ Boot_CreateStmt:
248248
(Datum) 0,
249249
false,
250250
true);
251-
elog(DEBUG4, "relation created with oid %u", id);
251+
elog(DEBUG4, "relation created with OID %u", id);
252252
}
253253
do_end();
254254
}

src/backend/port/ipc_test.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,7 +303,7 @@ main(int argc, char **argv)
303303
proc_exit(1);
304304
}
305305

306-
printf("forked child pid %d OK\n", cpid);
306+
printf("forked child PID %d OK\n", cpid);
307307

308308
if (storage->flag != 1234)
309309
printf("Wrong value found in shared memory!\n");

src/backend/port/win32/signal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ pqsignal(int signum, pqsigfunc handler)
171171
return prevfunc;
172172
}
173173

174-
/* Create the signal listener pipe for specified pid */
174+
/* Create the signal listener pipe for specified PID */
175175
HANDLE
176176
pgwin32_create_signal_listener(pid_t pid)
177177
{
@@ -186,7 +186,7 @@ pgwin32_create_signal_listener(pid_t pid)
186186

187187
if (pipe == INVALID_HANDLE_VALUE)
188188
ereport(ERROR,
189-
(errmsg("could not create signal listener pipe for pid %d: error code %d",
189+
(errmsg("could not create signal listener pipe for PID %d: error code %d",
190190
(int) pid, (int) GetLastError())));
191191

192192
return pipe;

src/backend/storage/buffer/bufmgr.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,7 +952,7 @@ MarkBufferDirty(Buffer buffer)
952952
volatile BufferDesc *bufHdr;
953953

954954
if (!BufferIsValid(buffer))
955-
elog(ERROR, "bad buffer id: %d", buffer);
955+
elog(ERROR, "bad buffer ID: %d", buffer);
956956

957957
if (BufferIsLocal(buffer))
958958
{
@@ -2198,7 +2198,7 @@ ReleaseBuffer(Buffer buffer)
21982198
volatile BufferDesc *bufHdr;
21992199

22002200
if (!BufferIsValid(buffer))
2201-
elog(ERROR, "bad buffer id: %d", buffer);
2201+
elog(ERROR, "bad buffer ID: %d", buffer);
22022202

22032203
ResourceOwnerForgetBuffer(CurrentResourceOwner, buffer);
22042204

@@ -2270,7 +2270,7 @@ SetBufferCommitInfoNeedsSave(Buffer buffer)
22702270
volatile BufferDesc *bufHdr;
22712271

22722272
if (!BufferIsValid(buffer))
2273-
elog(ERROR, "bad buffer id: %d", buffer);
2273+
elog(ERROR, "bad buffer ID: %d", buffer);
22742274

22752275
if (BufferIsLocal(buffer))
22762276
{

src/backend/storage/ipc/sinvaladt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ SharedInvalBackendInit(bool sendOnly)
323323
/* register exit routine to mark my entry inactive at exit */
324324
on_shmem_exit(CleanupInvalidationState, PointerGetDatum(segP));
325325

326-
elog(DEBUG4, "my backend id is %d", MyBackendId);
326+
elog(DEBUG4, "my backend ID is %d", MyBackendId);
327327
}
328328

329329
/*

0 commit comments

Comments
 (0)