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

Commit55d5735

Browse files
committed
Fix typos in comments and debug message
Antonin Houska
1 parent7d67606 commit55d5735

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ CreateInitDecodingContext(char *plugin,
281281
LWLockRelease(ProcArrayLock);
282282

283283
/*
284-
* tell the snapshot builder to only assemble snapshot once reaching the a
284+
* tell the snapshot builder to only assemble snapshot once reaching the
285285
* running_xact's record with the respective xmin.
286286
*/
287287
xmin_horizon=slot->data.catalog_xmin;
@@ -880,7 +880,7 @@ LogicalIncreaseRestartDecodingForSlot(XLogRecPtr current_lsn, XLogRecPtr restart
880880
}
881881

882882
/*
883-
* Handle a consumer'sconformation having received all changes up to lsn.
883+
* Handle a consumer'sconfirmation having received all changes up to lsn.
884884
*/
885885
void
886886
LogicalConfirmReceivedLocation(XLogRecPtrlsn)

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -466,8 +466,8 @@ ReorderBufferGetTupleBuf(ReorderBuffer *rb, Size tuple_len)
466466
/*
467467
* Most tuples are below MaxHeapTupleSize, so we use a slab allocator for
468468
* those. Thus always allocate at least MaxHeapTupleSize. Note that tuples
469-
*tuplesgenerated for oldtuples can be bigger, as they don't have
470-
*out-of-linetoast columns.
469+
* generated for oldtuples can be bigger, as they don't have out-of-line
470+
* toast columns.
471471
*/
472472
if (alloc_len<MaxHeapTupleSize)
473473
alloc_len=MaxHeapTupleSize;

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ SnapBuildEndTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid)
901901
/*
902902
* NB: This handles subtransactions correctly even if we started from
903903
* suboverflowed xl_running_xacts because we only keep track of toplevel
904-
* transactions. Since the latter are alwaysareallocated before their
904+
* transactions. Since the latter are always allocated before their
905905
* subxids and since they end at the same time it's sufficient to deal
906906
* with them here.
907907
*/
@@ -981,7 +981,7 @@ SnapBuildCommitTxn(SnapBuild *builder, XLogRecPtr lsn, TransactionId xid,
981981
* we reached consistency.
982982
*/
983983
forced_timetravel= true;
984-
elog(DEBUG1,"forced to assume catalog changes for xid %u because it was runningto early",xid);
984+
elog(DEBUG1,"forced to assume catalog changes for xid %u because it was runningtoo early",xid);
985985
}
986986

987987
for (nxact=0;nxact<nsubxacts;nxact++)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp