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

2025-02-27 Thread Ranier Vilela
Em qui., 27 de fev. de 2025 às 02:08, Michael Paquier escreveu: > On Wed, Feb 26, 2025 at 07:04:25PM +0530, vignesh C wrote: > > On Tue, 18 Feb 2025 at 18:18, Ranier Vilela wrote: > >> Similar to commit 5b94e27 [1] > >> The correct function when freeing memory in the frontend, > >> using the fun

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

2025-02-26 Thread Michael Paquier
On Wed, Feb 26, 2025 at 07:04:25PM +0530, vignesh C wrote: > On Tue, 18 Feb 2025 at 18:18, Ranier Vilela 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

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

2025-02-26 Thread vignesh C
On Tue, 18 Feb 2025 at 18:18, Ranier Vilela 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, Vignes

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

2025-02-18 Thread Ranier Vilela
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. best regards, Ranier Vilela [1] https://www.postgresql.org/message-id/C