From: Bruce Momjian Date: Sat, 14 Mar 2020 21:36:54 +0000 (-0400) Subject: C comment: correct commented bytes of max_cached_tuplebufs X-Git-Tag: REL9_5_22~63 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5c3a70020a9e74a69b3ed0ded0de48bdebbbe8ed;p=thirdparty%2Fpostgresql.git 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 --- diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index c02f520c813..55470fe8e5d 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; * workloads. */ static const Size max_cached_changes = 4096 * 2; -static const Size max_cached_tuplebufs = 4096 * 2; /* ~8MB */ +static const Size max_cached_tuplebufs = 4096 * 2; /* ~64MB */ static const Size max_cached_transactions = 512;