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

Commit5b075ae

Browse files
committed
Fix misc typos in comments.
1 parentb082732 commit5b075ae

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@
136136
/*
137137
* This struct contains the current state of the snapshot building
138138
* machinery. Besides a forward declaration in the header, it is not exposed
139-
* to the public, so we can easily changeit's contents.
139+
* to the public, so we can easily changeits contents.
140140
*/
141141
structSnapBuild
142142
{
@@ -607,7 +607,7 @@ SnapBuildExportSnapshot(SnapBuild *builder)
607607
/*
608608
* Reset a previously SnapBuildExportSnapshot()'ed snapshot if there is
609609
* any. Aborts the previously started transaction and resets the resource
610-
* owner back toit's original value.
610+
* owner back toits original value.
611611
*/
612612
void
613613
SnapBuildClearExportedSnapshot()
@@ -1033,7 +1033,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
10331033
SnapBuildAddCommittedTxn(builder,xid);
10341034
}
10351035

1036-
/* if there's any reason to build a historic snapshot,to so now */
1036+
/* if there's any reason to build a historic snapshot,do so now */
10371037
if (forced_timetravel||top_needs_timetravel||sub_needs_timetravel)
10381038
{
10391039
/*
@@ -1093,7 +1093,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
10931093
*/
10941094

10951095
/*
1096-
* Process a running xacts record, and useit's information to first build a
1096+
* Process a running xacts record, and useits information to first build a
10971097
* historic snapshot and later to release resources that aren't needed
10981098
* anymore.
10991099
*/
@@ -1404,8 +1404,8 @@ typedef struct SnapBuildOnDisk
14041404
/*
14051405
* Store/Load a snapshot from disk, depending on the snapshot builder's state.
14061406
*
1407-
* Supposed to be used by external (i.e. not snapbuild.c) code that justreada
1408-
* record that's a potential location for a serialized snapshot.
1407+
* Supposed to be used by external (i.e. not snapbuild.c) code that justread
1408+
*arecord that's a potential location for a serialized snapshot.
14091409
*/
14101410
void
14111411
SnapBuildSerializationPoint(SnapBuild*builder,XLogRecPtrlsn)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3234,8 +3234,8 @@ ReleasePredicateLocks(bool isCommit)
32343234
*
32353235
* If this value is changing, we don't care that much whether we get the
32363236
* old or new value -- it is just used to determine how far
3237-
*GlobalSerizableXmin must advance before this transaction can be fully
3238-
* cleaned up.The worst that could happen is we wait for one more
3237+
*GlobalSerializableXmin must advance before this transaction can be
3238+
*fullycleaned up.The worst that could happen is we wait for one more
32393239
* transaction to complete before freeing some RAM; correctness of visible
32403240
* behavior is not affected.
32413241
*/

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp