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

From vignesh C
Subject Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Date
Msg-id CALDaNm2=SK5bb6Du7gMemWFv9DA8PDNhGV++kBnTMt5QzHQ1Xw@mail.gmail.com
Whole thread Raw
List pgsql-hackers
On Tue, 18 Feb 2025 at 18:18, Ranier Vilela <ranier.vf@gmail.com> wrote:
>
> Hi.
>
> 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.

Regards,
Vignesh



pgsql-hackers by date:

Previous
From: Guillaume Lelarge
Date:
Subject: Re: Log connection establishment timings
Next
From: Amit Kapila
Date:
Subject: Re: Race condition in replication slot usage introduced by commit f41d846