diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2019-11-06 14:20:29 +0100 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2019-11-06 14:20:29 +0100 |
commit | d40abd5fcfb25d764419f8e9bffa5cdbdb247c1b (patch) | |
tree | 09da82cd3139147ab431ec7fd26002e31ae80025 /src/backend/tcop/postgres.c | |
parent | 5b7ba75f7ff854003231e8099e3038c7e2eba875 (diff) | |
download | postgresql-d40abd5fcfb25d764419f8e9bffa5cdbdb247c1b.tar.gz postgresql-d40abd5fcfb25d764419f8e9bffa5cdbdb247c1b.zip |
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions