Thread: pgsql: Fix memory allocation mistake

pgsql: Fix memory allocation mistake

From
Peter Eisentraut
Date:
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(-)