Re: Remove traces of long in dynahash.c

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Remove traces of long in dynahash.c
Дата
Msg-id aMENtE9cqL8nAW5o@paquier.xyz
обсуждение исходный текст
Ответ на Re: Remove traces of long in dynahash.c  (Dean Rasheed <dean.a.rasheed@gmail.com>)
Список pgsql-hackers
On Tue, Sep 09, 2025 at 10:28:13AM +0100, Dean Rasheed wrote:
> So I think there's no point in adding that cap, or any additional
> checks in ExecChooseHashTableSize().

You are right that this hardcoded limit introduced in the previous
patch was useless.  So I have removed that, and applied the result.
Thanks for the suggestion.

Regarding removing the next power functions in dynahash.c, I am not
sure if it is worth bothering much.  Now that dynahash.h is removed,
all the code duplication that was in the backend, without the
hardcoded thresholds, is removed.
--
Michael

Вложения

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