Re: DSA_ALLOC_NO_OOM doesn't work

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: DSA_ALLOC_NO_OOM doesn't work
Дата
Msg-id CA+TgmoYXziAkvDnYu5BKgVHspYtLpC94fEq2h+Yb6RTAurPEGg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: DSA_ALLOC_NO_OOM doesn't work  (Heikki Linnakangas <hlinnaka@iki.fi>)
Список pgsql-hackers
On Thu, Feb 22, 2024 at 12:49 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
> That's fair, I can see those reasons. Nevertheless, I do think it was a
> bad tradeoff. A little bit of repetition would be better here, or we can
> extract the common parts to smaller functions.
>
> I came up with the attached:
>
>    25 files changed, 1710 insertions(+), 1113 deletions(-)
>
> So yeah, it's more code, and there's some repetition, but I think this
> is more readable. Some of that is extra boilerplate because I split the
> implementations to separate files, and I also added tests.

Adding tests is great. I'm unenthusiastic about the rest, but I don't
really care enough to argue.

What's the goal here, anyway? I mean, why bother?

--
Robert Haas
EDB: http://www.enterprisedb.com



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

Предыдущее
От: Andrei Lepikhov
Дата:
Сообщение: Re: POC: GROUP BY optimization
Следующее
От: Andrei Lepikhov
Дата:
Сообщение: Re: Unlinking Parallel Hash Join inner batch files sooner