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 1waAP4-001ZqU-2L for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 10:55:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waAP3-00AtEW-1u for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 10:55:21 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1waAP3-00AtEN-18 for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 10:55:21 +0000 Received: from mail-dy1-x1329.google.com ([2607:f8b0:4864:20::1329]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1waAP1-000000014v0-0Unm for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 10:55:20 +0000 Received: by mail-dy1-x1329.google.com with SMTP id 5a478bee46e88-30bf8b2bd20so538437eec.0 for ; Thu, 18 Jun 2026 03:55:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781780117; cv=none; d=google.com; s=arc-20240605; b=ElFkJe+fOidqN2U/GuF+p2Rn5S2IhUMJnyoNc8dyFxW6CuSweRIxtMzedYpZ9j0N25 GTDeX8t7+bvRtIZZJcG2LyQlVqjBwmFzBsM/G9EjIaSy7vY2rrQL3iU+s5E9vfklsiiE Ce4vwC+XEC0V9eDbHgNvkyLASLvQBOHrcWI3E3JJgUf8h68CeTpv3uXJwq1RpE97JfeO PzygzsrFnWRPOvkqx1YY9TIH4iv/jUzS0L8bmDToEemhSVzq0rUTWk0bxIDlnc3+Uc8Q cjeNm5BuulGaRmB5lFuNmeBDbA8VuBnQzcJiDFf8sc0Vb7xStnBr5wnM09G2pkVwNUZ8 Dlvg== 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=Fnkk9FAPIUxM6uyvoWv0+oflGQywUlmBntvdmgQUVbY=; fh=VUZje5V2bEe3W0i3qAsmbQ3qm+G1e1Lw23jhpzjuUwA=; b=akdfHNyP8H8xsJUVsJYtn4O35y5StLftnms5yJZILfvUVR0/jPbSDH8ta80lYyxzp9 3+ci3EA6m1Sdt9AvTKAAjICAoi4302nUPlA+D152UI1JuKb6TbCsHyW7KiNpmhCcFvTR xc60wNISewS0fsYDS1CdrCKqmiEtiWo4cwslpV5zFO6rnVITaO6o93g0nck9ND5IOca6 n42qkzA04YbCqgJwEjoZqOayzVkqoNhlFWs4cOQBz88KfJ9skx24sDf1ACzePTAACWCj dApU5ltfT6MBWDBJ0JmTnTS4Sp0lnmSo6hrWU2UI7mZFjfQ34XKvcwf+ccHIJ530y1no e7Cg==; 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=1781780117; x=1782384917; 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=Fnkk9FAPIUxM6uyvoWv0+oflGQywUlmBntvdmgQUVbY=; b=pSACy6uH8tQxsNzQnX/vMv5v9gnozquT417zu4x0CEMsgwUMNqcqo5IMaIps39Z/gI /EqOX0MzH+lLK3ZqwZFadpjbR4mCe3E7aVUZOoOnjZllMJd7UqWy3Ks1kF7BQbDY0qlU G9sf3c1131S64nJTSo74nROvAeS3Wxt9aM7htVDGcmNp4nhUfxUlozDSzXgIs8urGSGR NWaSvoN+ULm0ac1qAD1SP6RlYsOMnFDSWaBXTiSq2L3x9B7jF/o/aWNw1hN61tRoXemk UReenUanafkdXUzIDloqR01YRFO1UM91hpDxSYB06YR3AuXlaAv/XaBfzyjcFNUiUJC2 SnHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781780117; x=1782384917; 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=Fnkk9FAPIUxM6uyvoWv0+oflGQywUlmBntvdmgQUVbY=; b=jXHpqn6lPxvCB34UeBhmhXk3xvxO3wvO/OKceqksx0FIj5q4ptZk3ubk1Yi6f8Dkci a3Lc5GtZZ/yFhWTAHceT9PZdK6DHEduMstM3x66PdmVRN7jGQLmrl46vYfIY0luHo69E 4HsBs900TVd1qpnShICUznPyd4B1wNysRd6ROJwwVFLXZHZtLs80WTPo0OuzTLYT0/Zn P2Tb7zI9Zvy+eprgRn35RAYrDLrbepTUhk6JDBUWgwy9g9nkvBkqpjKxBit+nYHqlmvz Brz+PmW0A0QUVSzVEyM5u0bIkrzzsoGmk0klvy9VVbxMuLFV8fu4J1GdKnpd0qkhDO+a BbTQ== X-Forwarded-Encrypted: i=1; AFNElJ91aNxO9bYxmdgWpIGcqHT8RWAQeUSUfVUnzEidlWcoR2xUfG9HA1PEb8t66zXlPijXMWWmBx+OsyeZ@lists.postgresql.org X-Gm-Message-State: AOJu0Yz0YWEiu4K1NpeWH9HCusfgQU330WYxdc/sRhHXxD/jPVCyW5B5 LHIcgprJIWCAhIAxqTxCwS5oTbAgKAt5bon3lYus2hoKkCNDWJhluCW/LBX85CH9iGB/2wL7o6c YP/ZlSQzkKKfYnl9WgTf5LHZr+ylAm/g= X-Gm-Gg: AfdE7cl7OaEqbxMWv46hZMtRD+HhO+jOSNVI5C0EE/jiPLILpwdEHEn7ImkwdNFWqCW 2f3hYr3cU7N01TOIZW8FRhdaM/L/g3phgL30KekuPjqhhGhREYrVkSfyxjjid97FcLodq5fOm76 PXbespnOsKrsN5z4Q1GwWA6+dxX72XFQiCxftFrby7vJD48ai84BkUdzkfw6CJMQiS6+r4iL0Xf BAb325FOImIUsJ7HZaztVen2ygyKnnsKLyvVuGbYj5cxCGqRddO8cMVWEky10wYUW7G8s5iNY5K XT8XOEeGNBXXOwhksq8hQNGcBoy5IVWUeaPma0X8DxJNNeVhGkelr4y2/GMW63BC/8+Oc7eZ71H IzjeR4E7efyb+z86B4bZbvWHtq+DhCg== X-Received: by 2002:a05:7301:5f0a:b0:30b:b65d:ef87 with SMTP id 5a478bee46e88-30bf71524a0mr1379376eec.9.1781780116631; Thu, 18 Jun 2026 03:55:16 -0700 (PDT) MIME-Version: 1.0 References: <19484-a3cb82c8cde3c8fa@postgresql.org> In-Reply-To: From: Etsuro Fujita Date: Thu, 18 Jun 2026 19:55:05 +0900 X-Gm-Features: AVVi8CdA77w6LKJ66zAcrzJdLX0ZxnOfijKyaajwJF-LvXGqa6HBA1rFPouY-CY Message-ID: Subject: Re: BUG #19484: Segmentation fault triggered by FDW To: Amit Langote Cc: 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 Sorry, I accidentally sent this before I finished writing. On Thu, Jun 18, 2026 at 7:50=E2=80=AFPM Etsuro Fujita wrote: > > Amit-san, > > On Thu, Jun 18, 2026 at 6:16=E2=80=AFPM Amit Langote wrote: > > A small clarification on this one: the patch makes no changes to > > postgres_fdw code, only adds a regression test. The bug, which I > > introduced, is in how nodeModifyTable.c supplies fdw_private from the > > pruned/validated fdwPrivLists in ModifyTableState rather than the > > original list in ModifyTable, so the postgres_fdw side itself is > > unchanged. The substantive change is the executor re-indexing. > > Thanks for the clarification! > > > Still holding off on committing per our exchange, but no rush given > > you may want to prioritize the v19 open items. Happy to go ahead > > whenever, or wait for your comments. Actually, I've just started reviewing the patch. I'll let you know the results (if any) by tomorrow. Thanks for the consideration as well. Best regards, Etsuro Fujita