Re: HashAgg degenerate case

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: HashAgg degenerate case
Дата
Msg-id CAApHDvr3byTEhJ+yZb91t3OqAHtsyADUea2Xe2zCnw+G4k0RpA@mail.gmail.com
обсуждение исходный текст
Список pgsql-bugs
On Wed, 6 Nov 2024 at 14:00, Jeff Davis <pgsql@j-davis.com> wrote:
> Fixing it seems fairly easy though: we just need to completely destroy
> the hash table each time and recreate it. Something close to the
> attached patch (rough).

I don't think it could be that exactly though as that could lead to
JIT compilation over and over again from the following chain of
function calls: build_hash_tables() -> build_hash_table() ->
BuildTupleHashTableExt() -> ExecBuildGroupingEqual() ->
ExecReadyExpr() -> jit_compile_expr()

David



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