Re: [PATCH] Silence a new Valgrind warning

Heikki Linnakangas <hlinnaka@iki.fi>

From: Heikki Linnakangas <hlinnaka@iki.fi>
To: Peter Geoghegan <pg@bowt.ie>
Cc: Aleksander Alekseev <aleksander@tigerdata.com>, PostgreSQL Development <pgsql-hackers@postgresql.org>
Date: 2026-03-13T21:57:38Z
Lists: pgsql-hackers
On 13/03/2026 19:33, Peter Geoghegan wrote:
> On Fri, Mar 13, 2026 at 11:33 AM Heikki Linnakangas <hlinnaka@iki.fi> wrote:
>>> The proposed patch silences the warnings.
>>
>> I don't see that warning. What valgrind options did you use?
> 
> I have seen this one, though only when --leak-check=yes is passed to Valgrind.

Ok now I see it. Not sure what I was doing wrong earlier.

Pushed, thanks Aleksander!

- Heikki




Commits

  1. Free memory allocated for unrecognized_protocol_options

  2. libpq: Grease the protocol by default