Обсуждение: [COMMITTERS] pgsql: Fix leakage of memory context header in find_all_inheritors().

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix leakage of memory context header in find_all_inheritors().

От
Tom Lane
Дата:
Fix leakage of memory context header in find_all_inheritors().

Commit 827d6f977 contained the same misunderstanding of hash_create's API
as commit 090010f2e.  As in 5d00b764c, remove the unnecessary layer of
memory context.  (This bug is less significant than the other one, since
the extra context would be under a relatively short-lived context, but
it's still a bug.)

Branch
------
master

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

Modified Files
--------------
src/backend/catalog/pg_inherits.c | 22 ++++++----------------
1 file changed, 6 insertions(+), 16 deletions(-)