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

Commit20b4323

Browse files
committed
C comments: "a" <--> "an" corrections
Reported-by: Michael Paquier, Abhijit Menon-SenDiscussion:https://postgr.es/m/20180305045854.GB2266@paquier.xyzAuthor: Michael Paquier, Abhijit Menon-Sen, me
1 parent3282c4c commit20b4323

File tree

10 files changed

+10
-10
lines changed

10 files changed

+10
-10
lines changed

‎config/c-library.m4‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ AC_DEFUN([PGAC_STRUCT_ADDRINFO],
177177
# handle ll, q, and I64. The result is in shell variable
178178
# LONG_LONG_INT_MODIFIER.
179179
#
180-
# MinGW uses '%I64d', though gcc throwsan warning with -Wall,
180+
# MinGW uses '%I64d', though gcc throwsa warning with -Wall,
181181
# while '%lld' doesn't generate a warning, but doesn't work.
182182
#
183183
AC_DEFUN([PGAC_FUNC_SNPRINTF_LONG_LONG_INT_MODIFIER],

‎src/backend/access/gin/ginvacuum.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,7 @@ ginVacuumPostingTreeLeaves(GinVacuumState *gvs, BlockNumber blkno, bool isRoot)
381381

382382
/*
383383
* All subtree is empty - just return true to indicate that parent
384-
* must do a cleanup. Unless we are ROOTan there is way to go upper.
384+
* must do a cleanup, unless we are ROOTand there is way to go upper.
385385
*/
386386

387387
if (hasEmptyChild&& !hasNonEmptyChild&& !isRoot)

‎src/backend/catalog/aclchk.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5280,7 +5280,7 @@ pg_extension_ownercheck(Oid ext_oid, Oid roleid)
52805280
}
52815281

52825282
/*
5283-
* Ownership check foran publication (specified by OID).
5283+
* Ownership check fora publication (specified by OID).
52845284
*/
52855285
bool
52865286
pg_publication_ownercheck(Oidpub_oid,Oidroleid)

‎src/backend/commands/cluster.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ finish_heap_swap(Oid OIDOldHeap, Oid OIDNewHeap,
15391539
frozenXid,cutoffMulti,mapped_tables);
15401540

15411541
/*
1542-
* If it's a system catalog, queuean sinval message to flush all
1542+
* If it's a system catalog, queuea sinval message to flush all
15431543
* catcaches on the catalog when we reach CommandCounterIncrement.
15441544
*/
15451545
if (is_system_catalog)

‎src/backend/executor/instrument.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ InstrAlloc(int n, int instrument_options)
4949
returninstr;
5050
}
5151

52-
/* Initializean pre-allocated instrumentation structure. */
52+
/* Initializea pre-allocated instrumentation structure. */
5353
void
5454
InstrInit(Instrumentation*instr,intinstrument_options)
5555
{

‎src/backend/libpq/pqformat.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pq_beginmessage(StringInfo buf, char msgtype)
100100
101101
*pq_beginmessage_reuse - initialize for sending a message, reuse buffer
102102
*
103-
* This requires the buffer to be allocated inan sufficiently long-lived
103+
* This requires the buffer to be allocated ina sufficiently long-lived
104104
* memory context.
105105
* --------------------------------
106106
*/

‎src/backend/nodes/readfuncs.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
token=pg_strtok(&length);/* get field value */ \
7878
local_node->fldname=pg_strtouint64(token,NULL,10)
7979

80-
/* Readan long integer field (anything written as ":fldname %ld") */
80+
/* Reada long integer field (anything written as ":fldname %ld") */
8181
#defineREAD_LONG_FIELD(fldname) \
8282
token = pg_strtok(&length);/* skip :fldname */ \
8383
token=pg_strtok(&length);/* get field value */ \

‎src/backend/utils/adt/nabstime.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,7 +694,7 @@ reltime2tm(RelativeTime time, struct pg_tm *tm)
694694

695695

696696
/*
697-
*tintervalin- convertsan tinterval string to internal format
697+
*tintervalin- convertsa tinterval string to internal format
698698
*/
699699
Datum
700700
tintervalin(PG_FUNCTION_ARGS)

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2420,7 +2420,7 @@ RelationDestroyRelation(Relation relation, bool remember_tupdesc)
24202420
* NB: when rebuilding, we'd better hold some lock on the relation,
24212421
* else the catalog data we need to read could be changing under us.
24222422
* Also, a rel to be rebuilt had better have refcnt > 0. This is because
2423-
*an sinval reset could happen while we're accessing the catalogs, and
2423+
*a sinval reset could happen while we're accessing the catalogs, and
24242424
* the rel would get blown away underneath us by RelationCacheInvalidate
24252425
* if it has zero refcnt.
24262426
*

‎src/bin/pgbench/t/001_pgbench_with_server.pl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -583,7 +583,7 @@ sub pgbench
583583
0,
584584
[qr{cannot coerce boolean to int} ],
585585
q{\set i TRUE + 2} ],
586-
['set notan double',
586+
['set nota double',
587587
0,
588588
[qr{cannot coerce boolean to double} ],
589589
q{\set d ln(TRUE)} ],

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp