Re: Postgres fdw: Bug in InitPgFdwOptions initialization can cause an esoteric crash

From: Fujii Masao <masao(dot)fujii(at)gmail(dot)com>
To: Lucas Jeffrey <luquijeffrey(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org, etsuro(dot)fujita(at)gmail(dot)com, Amit Langote <amitlangote09(at)gmail(dot)com>
Subject: Re: Postgres fdw: Bug in InitPgFdwOptions initialization can cause an esoteric crash
Date: 2026-11-09 07:56:18
Message-ID: CAHGQGwGGjjxp7MCAbmVXtHanScHPXs1ON1x0_EeioKqOwCYd8w@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Nov 9, 2026 at 6:51 AM Lucas Jeffrey <luquijeffrey(at)gmail(dot)com> wrote:
> I created a v0 of a patch to solve this issue

Thanks for the report and patch! LGTM.

This issue was introduced by 0f9d4d7c12d, right? If so, we should backpatch
the fix to v19, where that commit was introduced, even though this issue
seems unlikely to occur in practice?

Regards,

--
Fujii Masao

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kirill Reshke 2026-11-09 08:04:57 Re: Reporting WAL replay progress during pre-consistency standby reovery
Previous Message David Rowley 2026-11-09 07:53:29 Re: Add sortsupport to money_ops, pg_lsn_ops and xid8_ops