Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0125c4e

Browse files
Fix ReorderBufferCheckMemoryLimit() comment.
Commit7259736 updated the comment but it was not correct sinceReorderBufferLargestStreamableTopTXN() returns only top-leveltransactions.Reviewed-by: Amit KapilaDiscussion:https://postgr.es/m/CAD21AoA9XB7OR86BqvrCe2dMYX%2BZv3-BvVmjF%3DGY2z6jN-kqjg%40mail.gmail.comBackpatch-through: 14
1 parent3845577 commit0125c4e

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)

[8]ページ先頭

©2009-2025 Movatter.jp