From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Mahendra Singh Thalor <mahi6run(at)gmail(dot)com> |
Cc: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | Re: pgsql: Fix fat fingering in 22cb6d28950 |
Date: | 2025-04-12 18:33:35 |
Message-ID: | 3fd6f7da-0453-4dde-95df-146fecfa7a92@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On 2025-04-11 Fr 3:24 PM, Mahendra Singh Thalor wrote:
> On Fri, 11 Apr 2025 at 04:38, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:
> >
> > Fix fat fingering in 22cb6d28950
> >
> > Per Rainier Vilela
> >
> > Branch
> > ------
> > master
> >
> > Details
> > -------
> >
> https://git.postgresql.org/pg/commitdiff/39729ec01d25dbe12e0dd8322c68f242650235c9
> >
> > Modified Files
> > --------------
> > src/bin/pg_dump/pg_restore.c | 4 ++--
> > 1 file changed, 2 insertions(+), 2 deletions(-)
> >
>
> Hi,
> This seems not a proper fix, rather this is adding a segfault.
>
[...]
> Here, we are passing &q, but we can't free this by destroyStringInfo(&q);
>
> *Fix*: pg_free(q.data)
Quite right. Clearly I was not having a good day on Thursday. Will fix.
cheers
andrew
--
Andrew Dunstan
EDB:https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Andrew Dunstan | 2025-04-12 18:57:34 | pgsql: Free memory properly in pg_restore.c |
Previous Message | Tom Lane | 2025-04-12 17:42:35 | pgsql: Doc: do a little copy-editing on Index Storage Parameters list. |