pgsql: Fix memory allocation mistake

2019-11-06 Thread Peter Eisentraut
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 Discussion: https://www.postgresql.org/message-id/20191105172918.3e32a446@firost Branch -- REL_10_STABLE Details

pgsql: Fix memory allocation mistake

2019-11-06 Thread Peter Eisentraut
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 Discussion: https://www.postgresql.org/message-id/20191105172918.3e32a446@firost Branch -- REL_11_STABLE Details

pgsql: Fix memory allocation mistake

2019-11-06 Thread Peter Eisentraut
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 Discussion: https://www.postgresql.org/message-id/20191105172918.3e32a446@firost Branch -- REL_12_STABLE Details

pgsql: Fix memory allocation mistake

2019-11-06 Thread Peter Eisentraut
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 Discussion: https://www.postgresql.org/message-id/20191105172918.3e32a446@firost Branch -- master Details ---