Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c) - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Date
Msg-id Z7_zNGaIPKtyEptm@paquier.xyz
Whole thread Raw
In response to Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)  (vignesh C <vignesh21@gmail.com>)
Responses Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
List pgsql-hackers
On Wed, Feb 26, 2025 at 07:04:25PM +0530, vignesh C wrote:
> On Tue, 18 Feb 2025 at 18:18, Ranier Vilela <ranier.vf@gmail.com> wrote:
>> Similar to commit 5b94e27 [1]
>> The correct function when freeing memory in the frontend,
>> using the function PQescapeIdentifier, must be
>> PQfreemem.
>>
>> Trivial patch attached.
>
> Thanks, this change looks good to me.

There's no point in leaving that unfixed in pg_amcheck, so done down
to 14 with 48e4ae9a0707.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Andy Alsup
Date:
Subject: Re: Update docs for UUID data type
Next
From: Masahiko Sawada
Date:
Subject: Re: Restrict copying of invalidated replication slots