summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>2020-03-14 17:36:54 -0400
committerBruce Momjian <bruce@momjian.us>2020-03-14 17:36:54 -0400
commit170679216d225d979daf2651f2bf73bc08ffdd26 (patch)
tree3db8206ee4ab063f9519c8f5ea2c87c3d87a5cbc
parent61d14971dade445cca407660609793dfdb727538 (diff)
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
-rw-r--r--src/backend/replication/logical/reorderbuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c
index 94266505afb..165ba8fde10 100644
--- a/src/backend/replication/logical/reorderbuffer.c
+++ b/src/backend/replication/logical/reorderbuffer.c
@@ -157,7 +157,7 @@ static const Size max_changes_in_memory = 4096;
* major bottleneck, especially when spilling to disk while decoding batch
* workloads.
*/
-static const Size max_cached_tuplebufs = 4096 * 2; /* ~8MB */
+static const Size max_cached_tuplebufs = 4096 * 2; /* ~64MB */
/* ---------------------------------------
* primary reorderbuffer support routines