| From: | Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Use-after-free issue in postgres_fdw |
| Date: | 2026-05-05 10:19:54 |
| Message-ID: | CAPmGK14yuCtULStwCAWEKx7ZA_R_0CPt2V1-LTEuCT=Z9GrH7A@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Fri, May 1, 2026 at 9:05 PM Etsuro Fujita <etsuro(dot)fujita(at)gmail(dot)com> wrote:
> On Mon, Apr 27, 2026 at 5:07 PM Michael Paquier <michael(at)paquier(dot)xyz> wrote:
> > On Fri, Apr 24, 2026 at 01:59:22AM -0700, Etsuro Fujita wrote:
> > > Right, this patch delays discarding the failed connection until abort
> > > cleanup of the top transaction, so it is guaranteed that anyone that
> > > uses it can safely refer to its PGconn when needed.
> >
> > +-- test handling of abort-cleanup-failed connections
> >
> > Perhaps this could be more descriptive, like "test cleanup of failed
> > connections on abort"?
>
> Sounds better. I'll modify the comment as such, and if no objections,
> push an updated version and back-patch it to all supported versions.
Pushed and backpatched after modifying the comment as proposed,
tweaking a code comment a bit, and adding a variant of a test case.
Best regards,
Etsuro Fujita
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Soumya S Murali | 2026-05-05 10:30:45 | Re: [PATCH] Add pg_get_trigger_ddl() to retrieve the CREATE TRIGGER statement |
| Previous Message | Richard Guo | 2026-05-05 10:12:16 | Wrong results in remove_useless_groupby_columns() |