From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix hash_array |
Date: | 2021-09-15 10:24:15 |
Message-ID: | E1mQS5P-0002Uq-KV@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
Fix hash_array
Commit 054adca641ac1279dc8d9b74fda41948ac35e9a9 neglected to
initialize the type_id field of the synthesized type cache entry, so
it would make a new one on every call.
Also, better use the per-function memory context for this; otherwise
it leaks memory.
Discussion: https://www.postgresql.org/message-id/flat/17158-8a2ba823982537a4%40postgresql.org
Branch
------
REL_14_STABLE
Details
-------
https://git.postgresql.org/pg/commitdiff/9b2fd490577bc957429f337cfd72869eb8ef08c9
Modified Files
--------------
src/backend/utils/adt/arrayfuncs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Peter Eisentraut | 2021-09-15 15:19:14 | pgsql: Make node output prefix match node structure name |
Previous Message | Daniel Gustafsson | 2021-09-15 07:57:47 | pgsql: doc: Clarify refresh options for DROP PUBLICATION |