diff options
author | Bruce Momjian <bruce@momjian.us> | 2020-03-14 17:36:54 -0400 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 2020-03-14 17:36:54 -0400 |
commit | 5c3a70020a9e74a69b3ed0ded0de48bdebbbe8ed (patch) | |
tree | 489d39840321e621868ffd7f17a9fa59e737f92d /src | |
parent | a1ef0f373ea8074ca4da6388396b52d15f48c9fd (diff) | |
download | postgresql-5c3a70020a9e74a69b3ed0ded0de48bdebbbe8ed.tar.gz postgresql-5c3a70020a9e74a69b3ed0ded0de48bdebbbe8ed.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/replication/logical/reorderbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |