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

Commit40fc457

Browse files
committed
Minor typos / copy-editing for snapmgr.c
Noticed while reviewing snapshot management.
1 parentd8c2dcc commit40fc457

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/utils/time/snapmgr.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* tracked by any resource owner.
2121
*
2222
* The same is true for historic snapshots used during logical decoding,
23-
* their lifetime is managed separately (as theylife longer as one xact.c
23+
* their lifetime is managed separately (as theylive longer as one xact.c
2424
* transaction).
2525
*
2626
* These arrangements let us reset MyPgXact->xmin when there are no snapshots
@@ -228,7 +228,7 @@ static void SnapshotResetXmin(void);
228228
* Snapshot fields to be serialized.
229229
*
230230
* Only these fields need to be sent to the cooperating backend; the
231-
* remaining ones can (and must) set by the receiver upon restore.
231+
* remaining ones can (and must)beset by the receiver upon restore.
232232
*/
233233
typedefstructSerializedSnapshotData
234234
{
@@ -709,8 +709,8 @@ UpdateActiveSnapshotCommandId(void)
709709

710710
/*
711711
* Don't allow modification of the active snapshot during parallel
712-
* operation. We share the snapshot to worker backends at beginning of
713-
* parallel operation, so any change to snapshot can lead to
712+
* operation. We share the snapshot to worker backends atthebeginning of
713+
* parallel operation, so any change tothesnapshot can lead to
714714
* inconsistencies. We have other defenses against
715715
* CommandCounterIncrement, but there are a few places that call this
716716
* directly, so we put an additional guard here.
@@ -1892,7 +1892,7 @@ HistoricSnapshotGetTupleCids(void)
18921892

18931893
/*
18941894
* EstimateSnapshotSpace
1895-
*Returns the sizeneed to store the given snapshot.
1895+
*Returns the sizeneeded to store the given snapshot.
18961896
*
18971897
* We are exporting only required fields from the Snapshot, stored in
18981898
* SerializedSnapshotData.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp