Re: [PATCH] dynahash: add memory allocation failure check - Mailing list pgsql-hackers

From m.korotkov@postgrespro.ru
Subject Re: [PATCH] dynahash: add memory allocation failure check
Date
Msg-id 52c350a319d9e70d62da90912c164c48@postgrespro.ru
Whole thread Raw
In response to Re: [PATCH] dynahash: add memory allocation failure check  (Andrey Borodin <x4mmm@yandex-team.ru>)
List 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



pgsql-hackers by date:

Previous
From: Andrei Lepikhov
Date:
Subject: Startup subpaths in MergeAppend path
Next
From: Aleksander Alekseev
Date:
Subject: Re: [PATCH] dynahash: add memory allocation failure check