]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix memory allocation mistake
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 6 Nov 2019 13:20:29 +0000 (14:20 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 6 Nov 2019 13:22:50 +0000 (14:22 +0100)
commita5b95016af918c0b147bb21bb52357b45f0376e9
tree1fa78b66f1db9b225573db68efaaa26b496e6871
parentf7b0d07049236b4f41e96e51f45755de294c1a54
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
src/backend/replication/logical/relation.c