pgsql: Remove hash_freeze()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Remove hash_freeze()
Date: 2026-11-05 08:45:29
Message-ID: E1xOt6A-00000000Hfy-0xLS@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Remove hash_freeze()

hash_freeze() was added by a2e923a652. Its only caller was
execGrouping.c, which stopped using dynahash in 5dfc198146. Nothing
in the tree has called the function since, so remove it.

Author: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Reviewed-by: Peter Eisentraut <peter(at)eisentraut(dot)org>
Discussion: https://www.postgresql.org/message-id/flat/CAJ7c6TPGc1eXGp%2BtzjfVBZnSCmYkdMozKaGxDhVaw5xHdGaeUA%40mail.gmail.com

Branch
------
master

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

Modified Files
--------------
src/backend/utils/hash/dynahash.c | 55 ++++-----------------------------------
src/include/utils/hsearch.h | 1 -
2 files changed, 5 insertions(+), 51 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Fujii Masao 2026-11-05 09:04:31 pgsql: Fix io_uring resource leaks across crash restarts
Previous Message Amit Langote 2026-11-05 07:32:09 pgsql: SQL/JSON: Fix NULL result leakage in JSON_VALUE() RETURNING json