Re: [PATCH] dynahash: add memory allocation failure check

From: m(dot)korotkov(at)postgrespro(dot)ru
To: Andrey Borodin <x4mmm(at)yandex-team(dot)ru>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] dynahash: add memory allocation failure check
Date: 2025-04-23 13:09:57
Message-ID: 52c350a319d9e70d62da90912c164c48@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrey Borodin wrote 2025-04-23 12:46:
> It seems there are a lot of cases of MCXT_ALLOC_NO_OOM, perhaps should
> we check them all?
Yep, I think we should.
I found this issue with the Svace static analyzer, and it might have
missed other issues.
Perhaps a more comprehensive investigation is needed here.
---
Best regards, Maksim Korotkov

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Aleksander Alekseev 2025-04-23 13:39:54 Re: [PATCH] dynahash: add memory allocation failure check
Previous Message Andrei Lepikhov 2025-04-23 12:49:40 Startup subpaths in MergeAppend path