Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)

From: vignesh C <vignesh21(at)gmail(dot)com>
To: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
Cc: Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Date: 2025-02-26 13:34:25
Message-ID: CALDaNm2=SK5bb6Du7gMemWFv9DA8PDNhGV++kBnTMt5QzHQ1Xw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue, 18 Feb 2025 at 18:18, Ranier Vilela <ranier(dot)vf(at)gmail(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Kapila 2025-02-26 13:48:57 Re: Race condition in replication slot usage introduced by commit f41d846
Previous Message Guillaume Lelarge 2025-02-26 13:22:32 Re: Log connection establishment timings