Fix typos in logical.c and reorderbuffer.c.
authorAmit Kapila <[email protected]>
Fri, 9 Oct 2020 02:45:53 +0000 (08:15 +0530)
committerAmit Kapila <[email protected]>
Fri, 9 Oct 2020 02:46:43 +0000 (08:16 +0530)
Reviewed-by: Sawada Masahiko
Discussion: https://postgr.es/m/CAA4eK1K6zTpuqf_d7wXCBjo_EF0_B6Fz3Ecp71Vq18t=wG-nzg@mail.gmail.com

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

index 3346df32d3b4f15384b86d404b0abdd47c4061d8..8675832f4d6e08f4a35fe5825a50d318fc15259d 100644 (file)
@@ -1477,7 +1477,7 @@ UpdateDecodingStats(LogicalDecodingContext *ctx)
    if (rb->spillBytes <= 0)
        return;
 
-   elog(DEBUG2, "UpdateSpillStats: updating stats %p %lld %lld %lld",
+   elog(DEBUG2, "UpdateDecodingStats: updating stats %p %lld %lld %lld",
         rb,
         (long long) rb->spillTxns,
         (long long) rb->spillCount,
index 189641bbf5b1fd39ce5b366cdf2d71132c48890a..4cb27f222445a21ef88fbd192da4cb20fee1c930 100644 (file)
@@ -1432,7 +1432,7 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
        ReorderBufferCleanupTXN(rb, subtxn);
    }
 
-   /* cleanup changes in the toplevel txn */
+   /* cleanup changes in the txn */
    dlist_foreach_modify(iter, &txn->changes)
    {
        ReorderBufferChange *change;
@@ -1533,7 +1533,7 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
        ReorderBufferTruncateTXN(rb, subtxn);
    }
 
-   /* cleanup changes in the toplevel txn */
+   /* cleanup changes in the txn */
    dlist_foreach_modify(iter, &txn->changes)
    {
        ReorderBufferChange *change;