Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit8a8fbe7

Browse files
committed
Capitalization fixes
1 parent223d14a commit8a8fbe7

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 eventid, just return TRUE. */
6119+
/* unknown eventID, 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 backendpid %d\n",
7556+
"ASYNC NOTIFY of '%s' received from backendPID %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 userid';
3177+
USING HINT = 'Please check your userID';
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-
idfor 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 typeid of the argument at the given index.
1266+
The typeOID 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 processid (PID),
124+
<entry>A lock file recording the current postmaster processID (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 withoid %u", id);
251+
elog(DEBUG4,"relation created withOID %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 childpid %d OK\n",cpid);
306+
printf("forked childPID %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
returnprevfunc;
172172
}
173173

174-
/* Create the signal listener pipe for specifiedpid */
174+
/* Create the signal listener pipe for specifiedPID */
175175
HANDLE
176176
pgwin32_create_signal_listener(pid_tpid)
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 forpid %d: error code %d",
189+
(errmsg("could not create signal listener pipe forPID %d: error code %d",
190190
(int)pid, (int)GetLastError())));
191191

192192
returnpipe;

‎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
volatileBufferDesc*bufHdr;
953953

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

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

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

22032203
ResourceOwnerForgetBuffer(CurrentResourceOwner,buffer);
22042204

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

22722272
if (!BufferIsValid(buffer))
2273-
elog(ERROR,"bad bufferid: %d",buffer);
2273+
elog(ERROR,"bad bufferID: %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 backendid is %d",MyBackendId);
326+
elog(DEBUG4,"my backendID is %d",MyBackendId);
327327
}
328328

329329
/*

‎src/backend/storage/lmgr/proc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -996,7 +996,7 @@ ProcSleep(LOCALLOCK *locallock, LockMethod lockMethodTable)
996996
{
997997
intpid=autovac->pid;
998998

999-
elog(DEBUG2,"sending cancel to blocking autovacuumpid = %d",
999+
elog(DEBUG2,"sending cancel to blocking autovacuumPID %d",
10001000
pid);
10011001

10021002
/* don't hold the lock across the kill() syscall */

‎src/backend/storage/smgr/smgrtype.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ smgrout(PG_FUNCTION_ARGS)
5454
char*s;
5555

5656
if (i >=NStorageManagers||i<0)
57-
elog(ERROR,"invalid storage managerid: %d",i);
57+
elog(ERROR,"invalid storage managerID: %d",i);
5858

5959
s=pstrdup(StorageManager[i].smgr_name);
6060
PG_RETURN_CSTRING(s);

‎src/backend/utils/cache/inval.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ LocalExecuteInvalidationMessage(SharedInvalidationMessage *msg)
529529
RelationMapInvalidate(false);
530530
}
531531
else
532-
elog(FATAL,"unrecognized SI messageid: %d",msg->id);
532+
elog(FATAL,"unrecognized SI messageID: %d",msg->id);
533533
}
534534

535535
/*

‎src/backend/utils/cache/syscache.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* These routines allow the parser/planner/executor to perform
1515
* rapid lookups on the contents of the system catalogs.
1616
*
17-
* see utils/syscache.h for a list of the cacheid's
17+
* see utils/syscache.h for a list of the cacheIDs
1818
*
1919
*-------------------------------------------------------------------------
2020
*/
@@ -842,7 +842,7 @@ SearchSysCache(int cacheId,
842842
{
843843
if (cacheId<0||cacheId >=SysCacheSize||
844844
!PointerIsValid(SysCache[cacheId]))
845-
elog(ERROR,"invalid cacheid: %d",cacheId);
845+
elog(ERROR,"invalid cacheID: %d",cacheId);
846846

847847
returnSearchCatCache(SysCache[cacheId],key1,key2,key3,key4);
848848
}
@@ -1026,7 +1026,7 @@ SysCacheGetAttr(int cacheId, HeapTuple tup,
10261026
*/
10271027
if (cacheId<0||cacheId >=SysCacheSize||
10281028
!PointerIsValid(SysCache[cacheId]))
1029-
elog(ERROR,"invalid cacheid: %d",cacheId);
1029+
elog(ERROR,"invalid cacheID: %d",cacheId);
10301030
if (!PointerIsValid(SysCache[cacheId]->cc_tupdesc))
10311031
{
10321032
InitCatCachePhase2(SysCache[cacheId], false);
@@ -1047,7 +1047,7 @@ SearchSysCacheList(int cacheId, int nkeys,
10471047
{
10481048
if (cacheId<0||cacheId >=SysCacheSize||
10491049
!PointerIsValid(SysCache[cacheId]))
1050-
elog(ERROR,"invalid cacheid: %d",cacheId);
1050+
elog(ERROR,"invalid cacheID: %d",cacheId);
10511051

10521052
returnSearchCatCacheList(SysCache[cacheId],nkeys,
10531053
key1,key2,key3,key4);

‎src/backend/utils/init/postinit.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ InitPostgres(const char *in_dbname, Oid dboid, const char *username,
489489
SharedInvalBackendInit(false);
490490

491491
if (MyBackendId>MaxBackends||MyBackendId <=0)
492-
elog(FATAL,"bad backendid: %d",MyBackendId);
492+
elog(FATAL,"bad backendID: %d",MyBackendId);
493493

494494
/* Now that we have a BackendId, we can participate in ProcSignal */
495495
ProcSignalInit(MyBackendId);

‎src/interfaces/ecpg/ecpglib/execute.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ ecpg_execute(struct statement * stmt)
16981698
notify=PQnotifies(stmt->connection->connection);
16991699
if (notify)
17001700
{
1701-
ecpg_log("ecpg_execute on line %d: asynchronous notification of \"%s\" from backendpid %d received\n",
1701+
ecpg_log("ecpg_execute on line %d: asynchronous notification of \"%s\" from backendPID %d received\n",
17021702
stmt->lineno,notify->relname,notify->be_pid);
17031703
PQfreemem(notify);
17041704
}

‎src/test/examples/testlibpq2.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ main(int argc, char **argv)
121121
while ((notify=PQnotifies(conn))!=NULL)
122122
{
123123
fprintf(stderr,
124-
"ASYNC NOTIFY of '%s' received from backendpid %d\n",
124+
"ASYNC NOTIFY of '%s' received from backendPID %d\n",
125125
notify->relname,notify->be_pid);
126126
PQfreemem(notify);
127127
nnotifies++;

‎src/test/regress/pg_regress.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2310,7 +2310,7 @@ regression_main(int argc, char *argv[], init_function ifunc, test_function tfunc
23102310
#else
23112311
#defineULONGPID(x) (unsigned long) (x)
23122312
#endif
2313-
printf(_("running on port %d withpid %lu\n"),
2313+
printf(_("running on port %d withPID %lu\n"),
23142314
port,ULONGPID(postmaster_pid));
23152315
}
23162316
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp