pgsql: Fix memory allocation mistake - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Fix memory allocation mistake
Date
Msg-id E1iSLQh-0006Tb-8D@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix memory allocation mistake

The previous code was allocating more memory than necessary because
the formula used the wrong data type.

Reported-by: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Discussion: https://www.postgresql.org/message-id/20191105172918.3e32a446@firost

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/d40abd5fcfb25d764419f8e9bffa5cdbdb247c1b

Modified Files
--------------
src/backend/replication/logical/relation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Fujii Masao
Date:
Subject: Re: pgsql: doc: Further clarify how recovery target parameters are applied
Next
From: Tom Lane
Date:
Subject: pgsql: Sync our DTrace infrastructure with c.h's definition of type boo