Skip to content

Commit 7229ebe

Browse files
Fix identation.
1 parent 52f1d67 commit 7229ebe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,10 +1540,10 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
15401540
Assert(change->txn == txn);
15411541

15421542
/*
1543-
* Instead of updating the memory counter for individual changes,
1544-
* we sum up the size of memory to free so we can update the memory
1545-
* counter all together below. This saves costs of maintaining
1546-
* the max-heap.
1543+
* Instead of updating the memory counter for individual changes, we
1544+
* sum up the size of memory to free so we can update the memory
1545+
* counter all together below. This saves costs of maintaining the
1546+
* max-heap.
15471547
*/
15481548
mem_freed += ReorderBufferChangeSize(change);
15491549

@@ -1628,7 +1628,7 @@ static void
16281628
ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prepared)
16291629
{
16301630
dlist_mutable_iter iter;
1631-
Size mem_freed = 0;
1631+
Size mem_freed = 0;
16321632

16331633
/* cleanup subtransactions & their changes */
16341634
dlist_foreach_modify(iter, &txn->subtxns)
@@ -1662,10 +1662,10 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prep
16621662
dlist_delete(&change->node);
16631663

16641664
/*
1665-
* Instead of updating the memory counter for individual changes,
1666-
* we sum up the size of memory to free so we can update the memory
1667-
* counter all together below. This saves costs of maintaining
1668-
* the max-heap.
1665+
* Instead of updating the memory counter for individual changes, we
1666+
* sum up the size of memory to free so we can update the memory
1667+
* counter all together below. This saves costs of maintaining the
1668+
* max-heap.
16691669
*/
16701670
mem_freed += ReorderBufferChangeSize(change);
16711671

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy