Thread
Commits
-
pg_amcheck: Fix inconsistency in memory freeing
- 35a591a0486f 14.18 landed
- ec741d48036a 15.13 landed
- 816149dc6bf9 16.9 landed
- f903d4da9276 17.5 landed
- 48e4ae9a0707 18.0 landed
-
Fix some inconsistencies with memory freeing in pg_createsubscriber
- 5b94e2753439 18.0 cited
-
Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Ranier Vilela <ranier.vf@gmail.com> — 2025-02-18T12:48:07Z
Hi. Similar to commit 5b94e27 <http://5b94e2753439b699b78aacbb53e89bf0e814becc> [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/CAEudQAp%3DAW5dJXrGLbC_aZg_9nOo%3D42W7uLDRONFQE-gcgnkgQ%40mail.gmail.com
-
Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
vignesh C <vignesh21@gmail.com> — 2025-02-26T13:34:25Z
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
-
Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Michael Paquier <michael@paquier.xyz> — 2025-02-27T05:08:04Z
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
-
Re: Fix api misuse (src/bin/pg_amcheck/pg_amcheck.c)
Ranier Vilela <ranier.vf@gmail.com> — 2025-02-27T11:05:07Z
Em qui., 27 de fev. de 2025 às 02:08, Michael Paquier <michael@paquier.xyz> escreveu: > 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. > Thank you Michael. best regards, Ranier Vilela