postgres.git / summary / log / commit / refs

commit    b83da9e6ee4b4445a3c62bcd5d2da16de7e4bd70
Author:   Bruce Momjian <bruce@momjian.us>
Date:     Sat Mar 14 21:36:54 2020 +0000
First released in: 9.5.22, 9.6.18, 10.13

    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


src/backend/replication/logical/reorderbuffer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/replication/logical/reorderbuffer.c b/src/backend/replication/logical/reorderbuffer.c index 26dc4c8298d..f0de337fe92 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; [parent: 30e491653b24]