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

Commit6aab1f4

Browse files
committed
Fix various typos and grammar errors in comments.
Author: Dmitriy OlshevskiyDiscussion: 553D00A6.4090205@bk.ru
1 parent9fe1d9a commit6aab1f4

File tree

21 files changed

+25
-25
lines changed

21 files changed

+25
-25
lines changed

‎src/backend/access/brin/brin_tuple.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ brin_free_tuple(BrinTuple *tuple)
304304
}
305305

306306
/*
307-
* Createan palloc'd copy of a BrinTuple.
307+
* Createa palloc'd copy of a BrinTuple.
308308
*/
309309
BrinTuple*
310310
brin_copy_tuple(BrinTuple*tuple,Sizelen)

‎src/backend/access/nbtree/nbtree.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ typedef struct
4040
BTSpool*spool;
4141

4242
/*
43-
* spool2 is needed only when the index isan unique index. Dead tuples
43+
* spool2 is needed only when the index isa unique index. Dead tuples
4444
* are put into spool2 instead of spool in order to avoid uniqueness
4545
* check.
4646
*/

‎src/backend/access/transam/twophase.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ AtAbort_Twophase(void)
291291
}
292292

293293
/*
294-
* This is called after we have finishedtransfering state to the prepared
294+
* This is called after we have finishedtransferring state to the prepared
295295
* PGXACT entry.
296296
*/
297297
void

‎src/backend/catalog/objectaddress.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ typedef struct
100100
AclObjectKindacl_kind;/* ACL_KIND_* of this object type */
101101
boolis_nsp_name_unique;/* can the nsp/name combination (or
102102
* name alone, if there's no
103-
* namespace) be consideredan unique
103+
* namespace) be considereda unique
104104
* identifier for an object of this
105105
* class? */
106106
}ObjectPropertyType;
@@ -3241,7 +3241,7 @@ pg_identify_object(PG_FUNCTION_ARGS)
32413241

32423242
/*
32433243
* We only return the object name if it can be used (together with
3244-
* the schema name, if any) asan unique identifier.
3244+
* the schema name, if any) asa unique identifier.
32453245
*/
32463246
if (get_object_namensp_unique(address.classId))
32473247
{

‎src/backend/commands/indexcmds.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1051,7 +1051,7 @@ ComputeIndexAttrs(IndexInfo *indexInfo,
10511051
*/
10521052

10531053
/*
1054-
*A expression using mutable functions is probably wrong,
1054+
*An expression using mutable functions is probably wrong,
10551055
* since if you aren't going to get the same result for the
10561056
* same data every time, it's not clear what the index entries
10571057
* mean at all.

‎src/backend/executor/nodeModifyTable.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ ExecInsert(TupleTableSlot *slot,
304304
* inserting the record into the heap and all indexes.
305305
*
306306
* ExecWithCheckOptions will elog(ERROR) if a violation is found, so
307-
* the tuple will never be seen, if it violates thetheWITH CHECK
307+
* the tuple will never be seen, if it violates the WITH CHECK
308308
* OPTION.
309309
*
310310
* ExecWithCheckOptions() will skip any WCOs which are not of

‎src/backend/postmaster/bgworker.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ BackgroundWorkerShmemInit(void)
130130
/*
131131
* Copy contents of worker list into shared memory. Record the shared
132132
* memory slot assigned to each worker. This ensures a 1-to-1
133-
* correspondencebetwen the postmaster's private list and the array
133+
* correspondencebetween the postmaster's private list and the array
134134
* in shared memory.
135135
*/
136136
slist_foreach(siter,&BackgroundWorkerList)

‎src/backend/replication/logical/snapbuild.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1597,7 +1597,7 @@ SnapBuildSerialize(SnapBuild *builder, XLogRecPtr lsn)
15971597

15981598
/*
15991599
* We may overwrite the work from some other backend, but that's ok, our
1600-
* snapshot is valid as well, we'll just have done somesuperflous work.
1600+
* snapshot is valid as well, we'll just have done somesuperfluous work.
16011601
*/
16021602
if (rename(tmppath,path)!=0)
16031603
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ LWLockDequeueSelf(LWLock *lock)
848848

849849
/*
850850
* Somebody else dequeued us and has or will wake us up. Deal with the
851-
*superflous absorption of a wakeup.
851+
*superfluous absorption of a wakeup.
852852
*/
853853

854854
/*
@@ -1183,7 +1183,7 @@ LWLockAcquireOrWait(LWLock *lock, LWLockMode mode)
11831183
{
11841184
/*
11851185
* Wait until awakened. Like in LWLockAcquire, be prepared for bogus
1186-
*wakups, because we share the semaphore with ProcWaitForSignal.
1186+
*wakeups, because we share the semaphore with ProcWaitForSignal.
11871187
*/
11881188
LOG_LWDEBUG("LWLockAcquireOrWait",lock,"waiting");
11891189

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ RegisterRelcacheInvalidation(Oid dbId, Oid relId)
516516
/*
517517
* RegisterSnapshotInvalidation
518518
*
519-
* Registera invalidation event for MVCC scans against a given catalog.
519+
* Registeran invalidation event for MVCC scans against a given catalog.
520520
* Only needed for catalogs that don't have catcaches.
521521
*/
522522
staticvoid

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp