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

Commitaba2dbb

Browse files
Fix typos in comments
Fix various misspellings of xl_running_xacts.Author: Japin Li <japinli@hotmail.com>Discussion:https://postgr.es/m/MEYP282MB1669CA2A39ACF0172774ED27B6069@MEYP282MB1669.AUSP282.PROD.OUTLOOK.COM
1 parent3894d21 commitaba2dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@
9393
* Initially the machinery is in the START stage. When an xl_running_xacts
9494
* record is read that is sufficiently new (above the safe xmin horizon),
9595
* there's a state transition. If there were no running xacts when the
96-
*running_xacts record was generated, we'll directly go into CONSISTENT
96+
*xl_running_xacts record was generated, we'll directly go into CONSISTENT
9797
* state, otherwise we'll switch to the BUILDING_SNAPSHOT state. Having a full
9898
* snapshot means that all transactions that start henceforth can be decoded
9999
* in their entirety, but transactions that started previously can't. In
@@ -1331,7 +1331,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
13311331
*/
13321332

13331333
/*
1334-
*xl_running_xact record is older than what we can use, we might not have
1334+
*xl_running_xacts record is older than what we can use, we might not have
13351335
* all necessary catalog rows anymore.
13361336
*/
13371337
if (TransactionIdIsNormal(builder->initial_xmin_horizon)&&
@@ -1399,7 +1399,7 @@ SnapBuildFindSnapshot(SnapBuild *builder, XLogRecPtr lsn, xl_running_xacts *runn
13991399
* encountered. In that case, switch to BUILDING_SNAPSHOT state, and
14001400
* record xl_running_xacts->nextXid. Once all running xacts have finished
14011401
* (i.e. they're all >= nextXid), we have a complete catalog snapshot. It
1402-
* might look that we could usexl_running_xact's ->xids information to
1402+
* might look that we could usexl_running_xacts's ->xids information to
14031403
* get there quicker, but that is problematic because transactions marked
14041404
* as running, might already have inserted their commit record - it's
14051405
* infeasible to change that with locking.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp