pgsql: Protect against hypothetical memory leaks inRelationGetPartitio

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: Protect against hypothetical memory leaks inRelationGetPartitio
Дата
Msg-id E1eUJHR-0003yb-VD@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Protect against hypothetical memory leaks in RelationGetPartitionKey

Also, fix a comment that commit 8a0596cb656e made obsolete.

Reported-by: Robert Haas
Discussion: http://postgr.es/m/CA+TgmoYbpuUUUp2GhYNwWm0qkah39spiU7uOiNXLz20ASfKYoA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/be2343221fb74bde6b7445feeef32f7ea5cf2618

Modified Files
--------------
src/backend/utils/cache/relcache.c | 53 +++++++++++++++++++++-----------------
src/include/access/hash.h          |  2 +-
2 files changed, 30 insertions(+), 25 deletions(-)


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Remove incorrect apostrophe.
Следующее
От: Tom Lane
Дата:
Сообщение: Re: pgsql: Use new overflow aware integer operations.