Re: [PATCH] Silence Valgrind about SelectConfigFiles()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Aleksander Alekseev <aleksander(at)tigerdata(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: [PATCH] Silence Valgrind about SelectConfigFiles()
Date: 2025-08-13 23:14:13
Message-ID: 14515.1755126853@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Aleksander Alekseev <aleksander(at)tigerdata(dot)com> writes:
> I experimented with Valgrind after recent changes committed by Tom [1]
> and catched this:
> ...
> I propose to correct this as attached.

You didn't say what the test condition was, but from the patch
I suppose it's a case where SelectConfigFiles is erroring out?
Kind of hard to get excited about preventing a leak in that path,
since we're going to exit immediately.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2025-08-13 23:19:26 Re: index prefetching
Previous Message Tomas Vondra 2025-08-13 23:11:07 Re: index prefetching