Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit aba2dbb

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 parent 3894d21 commit aba2dbb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/replication/logical/snapbuild.c

+3-3
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 use xl_running_xact's ->xids information to
1402+
* might look that we could use xl_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)