Skip to content

Commit 1706792

Browse files
committed
C comment: correct commented bytes of max_cached_tuplebufs
The comment said ~8MB, but it is actually ~64MB. Reported-by: Kuntal Ghosh Discussion: https://postgr.es/m/CAGz5QC+GGmHdnxp04B6wcLz2Zcd_HU+wCBrsPyOZP62-BJghig@mail.gmail.com Backpatch-through: 9.5-10
1 parent 61d1497 commit 1706792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/replication/logical/reorderbuffer.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ static const Size max_changes_in_memory = 4096;
157157
* major bottleneck, especially when spilling to disk while decoding batch
158158
* workloads.
159159
*/
160-
static const Size max_cached_tuplebufs = 4096 * 2; /* ~8MB */
160+
static const Size max_cached_tuplebufs = 4096 * 2; /* ~64MB */
161161

162162
/* ---------------------------------------
163163
* primary reorderbuffer support routines

0 commit comments

Comments
 (0)