Skip to content

Commit 0125c4e

Browse files
Fix ReorderBufferCheckMemoryLimit() comment.
Commit 7259736 updated the comment but it was not correct since ReorderBufferLargestStreamableTopTXN() returns only top-level transactions. Reviewed-by: Amit Kapila Discussion: https://postgr.es/m/CAD21AoA9XB7OR86BqvrCe2dMYX%2BZv3-BvVmjF%3DGY2z6jN-kqjg%40mail.gmail.com Backpatch-through: 14
1 parent 3845577 commit 0125c4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3602,8 +3602,8 @@ ReorderBufferCheckMemoryLimit(ReorderBuffer *rb)
36023602
rb->size > 0))
36033603
{
36043604
/*
3605-
* Pick the largest transaction (or subtransaction) and evict it from
3606-
* memory by streaming, if possible. Otherwise, spill to disk.
3605+
* Pick the largest transaction and evict it from memory by streaming,
3606+
* if possible. Otherwise, spill to disk.
36073607
*/
36083608
if (ReorderBufferCanStartStreaming(rb) &&
36093609
(txn = ReorderBufferLargestStreamableTopTXN(rb)) != NULL)

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