Fix identation.
authorMasahiko Sawada <[email protected]>
Mon, 26 Aug 2024 23:16:12 +0000 (16:16 -0700)
committerMasahiko Sawada <[email protected]>
Mon, 26 Aug 2024 23:16:12 +0000 (16:16 -0700)
src/backend/replication/logical/reorderbuffer.c

index b3139c41e2b0c70f6b8bdb7135bc5ce27daeda47..d1c4258844f78d688e9faa1b096612d790be90b7 100644 (file)
@@ -1540,10 +1540,10 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
                Assert(change->txn == txn);
 
                /*
-                * Instead of updating the memory counter for individual changes,
-                * we sum up the size of memory to free so we can update the memory
-                * counter all together below. This saves costs of maintaining
-                * the max-heap.
+                * Instead of updating the memory counter for individual changes, we
+                * sum up the size of memory to free so we can update the memory
+                * counter all together below. This saves costs of maintaining the
+                * max-heap.
                 */
                mem_freed += ReorderBufferChangeSize(change);
 
@@ -1628,7 +1628,7 @@ static void
 ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prepared)
 {
        dlist_mutable_iter iter;
-       Size    mem_freed = 0;
+       Size            mem_freed = 0;
 
        /* cleanup subtransactions & their changes */
        dlist_foreach_modify(iter, &txn->subtxns)
@@ -1662,10 +1662,10 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prep
                dlist_delete(&change->node);
 
                /*
-                * Instead of updating the memory counter for individual changes,
-                * we sum up the size of memory to free so we can update the memory
-                * counter all together below. This saves costs of maintaining
-                * the max-heap.
+                * Instead of updating the memory counter for individual changes, we
+                * sum up the size of memory to free so we can update the memory
+                * counter all together below. This saves costs of maintaining the
+                * max-heap.
                 */
                mem_freed += ReorderBufferChangeSize(change);