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

From Tom Lane
Subject [COMMITTERS] pgsql: Fix leakage of memory context header in find_all_inheritors().
Date
Msg-id E1dAlyD-0004zJ-A6@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Kevin Grittner
Date:
Subject: Re: [COMMITTERS] pgsql: Add a test for transition table usage in FOREACH ROW trigger.
Next
From: Tom Lane
Date:
Subject: [COMMITTERS] pgsql: Preventive maintenance in advance of pgindent run.