pgsql: Fix hash_array

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Fix hash_array
Дата
Msg-id E1mQS5P-0002Up-KB@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix hash_array

Commit a3d2b1bbe904b0ca8d9fdde20f25295ff3e21f79 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/851ff9335742d22a3cb1a5ab789208e4ee01dcef

Modified Files
--------------
src/backend/utils/adt/arrayfuncs.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)


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

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: pgsql: doc: Clarify refresh options for DROP PUBLICATION
Следующее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Make node output prefix match node structure name