Re: Valgrind - showing memory leaks

Álvaro Herrera <alvherre@kurilemu.de>

From: Álvaro Herrera <alvherre@kurilemu.de>
To: Yasir <yasir.hussain.shah@gmail.com>, pgsql-hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-05-08T13:17:17Z
Lists: pgsql-hackers
On 2025-05-08, Yasir wrote:

> I believe that the valgrind should not report any memory leaks in such 
> simple/common commands. What am I doing wrong here?

Hmm, that function was modified relatively recently so I think you found a genuine bug, which is probably mine. I'll have a look ...

-- 
Álvaro Herrera



Commits

  1. relcache: Avoid memory leak on tables with no CHECK constraints

  2. Silence compilers about extractNotNullColumn()