pgsql: Fix memory allocation mistake

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix memory allocation mistake
Дата
Msg-id E1iSLQh-0006Tc-8c@gemulon.postgresql.org
обсуждение исходный текст
Список 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
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/39a6210f9e0fb3f285934f275f6dbffbc7c3fae9

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


В списке pgsql-committers по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: pgsql: doc: Further clarify how recovery target parameters are applied
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Sync our DTrace infrastructure with c.h's definition of type boo