Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcEdW-003C3G-0y for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2026 03:50:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wcEdU-00FA6K-35 for pgsql-bugs@arkaria.postgresql.org; Wed, 24 Jun 2026 03:50:48 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wcEdU-00FA6C-2I for pgsql-bugs@lists.postgresql.org; Wed, 24 Jun 2026 03:50:48 +0000 Received: from mail-pf1-x429.google.com ([2607:f8b0:4864:20::429]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wcEdS-00000001qUr-2cTW for pgsql-bugs@lists.postgresql.org; Wed, 24 Jun 2026 03:50:47 +0000 Received: by mail-pf1-x429.google.com with SMTP id d2e1a72fcca58-845369f60faso438647b3a.3 for ; Tue, 23 Jun 2026 20:50:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1782273045; cv=none; d=google.com; s=arc-20240605; b=jk0KmWYYJyhwPLpsayViRZntj28jPnfRyo2ghO+U24tQqeXIU4DQ72k/1CFm42pHEC CpWSvsrr5f16WMZ3PhM9OsxRqNylO46W3nuoTb1XOvbmIz5Yjqc8gplD+PlQtM2aH1/y qQFiD/e/XSS1wJcUOLviSVOFYfT+BZQvGctTZKBpS0LME8ldSS8VAHrbuyExyCKmW9Q7 Xa03zwNNUJpbEAhchlPHHN9S7ws2RVjOm0PCF3IXDR51ZLl0ZCOxx4kybe/DjBfLZ+2A jUaUFrAmbbJgH9SjkJ4COETvaqW1GviO5i/NfhYKaoxik9t5Bc5wxrpjiohBRoaxBbuo hyvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=4fDvh4n6oZmvWRyRPfet7wuFD6ioGFOqBUEcmXGz1AY=; fh=GqkHDsE6j2WA8UxxXN9xa9OGMfc6eP3cwA8eH+onM5Y=; b=dE7k9EewHbB9jxDLk4gZRuI/ClPRQaFM6DoCpEc9WhgcMXcx89XVlCYDKAK1ENb8Fi oRbHZGzx8hP1l/O8f6Yu68WDlXhTFjFfZT325t9fm5rS8mDFQ+IB17HEJH8DIXdZ84P7 oABgz53AA4jHvHXLy0cgo2ta6axMU57lT3gzNt6gfMmDxXmatMTLwSAdZxXKMkqgDrML 9707n3lQT66mB3ulfprqCmEjQred4p67XGFplcwuLnEvtVVcgulO4KPfJ5bZJ5sbz+vX P+w5q3v9cqan0kh8FQ1Dp3T1ybA754VrO/2JnWFx/CsMfk+Kiis1OD6HInwkhg+xXfzW hVVA==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1782273045; x=1782877845; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=4fDvh4n6oZmvWRyRPfet7wuFD6ioGFOqBUEcmXGz1AY=; b=NxsvPAk2LmMPFY63HiIpC0o+ZTXhj99a5t8CvakCEfa9EEygPwDm4T2qjA9sEe4Evt mg4VkFSt6yXc0cb9HR21aTmbrC3Od/PcNVw3M0TfjfgnPCq1Efl/p7D4wBscIhNga9+X rTB3hUV8Vz3O9e/cplU//4KbbU+JLNx7ib1YkNTBov4twtgSNCv9c++l3EP8lqZD49Gs 8EFh99cP4zZCsN8qJkk9Jh+BxyaYfxjc9M8bpGnTbdn0Kd9h03DKPHBhstQzSYboriIr Nbx5g8LxP/IFdfKpN+unrocaDPj7AB+mATQALzvLn9nvxYPSEekhmnYNLiFeTcddj0Qx gNdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1782273045; x=1782877845; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=4fDvh4n6oZmvWRyRPfet7wuFD6ioGFOqBUEcmXGz1AY=; b=i01LlJOTDbfYlEDwqXt1Gt1/VU9XGyjfDKp71kK+FcGZQ9l1rCOYtOGWJvxH+BpF98 6QOiUYRHTD14HBzDzMuf6cLjTts4xWEYmFD7/XX0DIpR4K5gg1b31bXSgLNSuYIpybDP jiC8YjLVSdKqx4QWnK6JKEpJ+jjnrficJjTD7eo7mgxkFCVtguVuzzeDJjJKtfyGW2hG /f1MEFnOAWkTb143WoDYzXf3uoODP49+tUiZoLsRmnhj0Sw8p9ZktWwfua0AWX1VSFW8 ihRVrHzYL5dkeyui57kbAPv/OAvVk7eksjUVXbdIiUnSgcFd+KoaZ2VD0Y9axdz2AkXw X7mg== X-Forwarded-Encrypted: i=1; AFNElJ9fwIbvSn5XGorWfF0mjUvVYXtmyICs3ZrXrfqjnfqH7MT97C+wzAXvC6EJUpQX32/nfvM9PAANkccn@lists.postgresql.org X-Gm-Message-State: AOJu0YyWaiAjSf+bxfcX2bFEJTYLEROMI5UWetAYGaJ41HnfghXvWgzr 5UnyHsaxjqd6l9/PmoAFuJTQ13XJ0eQFTQHYmldarSFIeYIR+40nLmvxKNKJuvbYIAckO5ALiia gG8rrxuRvDjOVsD4mPInal2XfkJ3kK2Y= X-Gm-Gg: AfdE7ckM6qmCY9E0aljl4/NaZGsZ3FxQ+MCrFwpl/3Vqa8PUB9/X+9G1qGFxY0UNtCE vSPpH+q7TuRAwCP6lmurx7Ivz8kJVTvGHhLhORWbP/jJrK4RLygVnmp19r6IHDoFgDffNHTP/FD rQhwY+2jfixUIHdQPWXqZojy7ei10k/W48g0PTofCuJukh/lHDNUjafjdQow9OfsdC3QxYNcOZx gKMAwN6HLruhF/F+mWtW0QsvyCx8NOekjazBgNI9Q7Zvx12isuG14BiY+TizF7FiOE/xNo69bR1 YrRtOmELxmY06Jm6G8WvMDEG0RsngvD0bGxnRgCocRM58I7gVurbyl8ziX1vQux2 X-Received: by 2002:a05:6a00:182a:b0:845:2f67:a0e6 with SMTP id d2e1a72fcca58-845a2ca7ccbmr2106195b3a.46.1782273044857; Tue, 23 Jun 2026 20:50:44 -0700 (PDT) MIME-Version: 1.0 References: <19484-a3cb82c8cde3c8fa@postgresql.org> <990481.1782266035@sss.pgh.pa.us> In-Reply-To: <990481.1782266035@sss.pgh.pa.us> From: Amit Langote Date: Wed, 24 Jun 2026 12:50:28 +0900 X-Gm-Features: AVVi8CdaI8_bqlv6g5FAYjttU8fPwj0Ou3sq23eOFXSbjlO3yAnkvcJ5IOWW1Ic Message-ID: Subject: Re: BUG #19484: Segmentation fault triggered by FDW To: Tom Lane Cc: Etsuro Fujita , Matheus Alcantara , Ayush Tiwari , Rafia Sabih , 798604270@qq.com, pgsql-bugs@lists.postgresql.org, Amit Langote Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, Jun 24, 2026 at 10:53=E2=80=AFAM Tom Lane wrote= : > Amit Langote writes: > > crake is now red on REL_18: > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=3Dcrake&dt=3D20= 26-06-24%2000%3A02%3A03 > > > It reports sizeof(ModifyTableState) grew by 8 bytes. > > > That=E2=80=99s from adding mt_fdwPrivLists at the end of the struct. Pl= acing it > > last keeps existing field offsets stable, which is what extensions read= ing > > the node rely on, but it does grow the struct, which is what the checke= r > > flags. I believe we=E2=80=99ve added trailing struct members in back br= anches > > before for exactly this reason. Is a flagged sizeof increase acceptable > > here under that precedent, or do we now want to avoid any flagged ABI > > change on a back branch? > > I don't believe that the addition of ABI checking was meant to change > our back-patching policies, just to make sure we don't make > unintentional ABI changes. As you say, we've added trailing fields > before. The critical question is whether it's likely that any > extensions create their own ModifyTableState nodes (and might make > them too small and/or fail to fill the new field correctly). > > I was about to say that that seems unlikely to me, but a check of > Debian Code Search immediately found pg_rewrite doing it. So yeah, > looks like we'd better adopt the no-ABI-break solution. Ah, ok, will post the patch to do so in the REL_18_STABLE branch. Thanks for the comment. --=20 Thanks, Amit Langote