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 94266505afb682fad3bc8e0f806174425406d7dc..165ba8fde10ed095b7a0ceb0d50c8cb85d633eb4 100644 (file)
@@ -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