]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
C comment: correct commented bytes of max_cached_tuplebufs
authorBruce Momjian <bruce@momjian.us>
Sat, 14 Mar 2020 21:36:54 +0000 (17:36 -0400)
committerBruce Momjian <bruce@momjian.us>
Sat, 14 Mar 2020 21:36:54 +0000 (17:36 -0400)
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

src/backend/replication/logical/reorderbuffer.c

index c02f520c8131b890baee91e43f6624e3040ed311..55470fe8e5d01845c07c89f2e5da8f6dec8d9726 100644 (file)
@@ -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;