Content-Length: 263424 | pFad | http://github.com/postgrespro/postgres/commit/0125c4e21d7e9c8b3da95ffcd3e34c0f61c9b69a

CD Fix ReorderBufferCheckMemoryLimit() comment. · postgrespro/postgres@0125c4e · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/0125c4e21d7e9c8b3da95ffcd3e34c0f61c9b69a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy