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 1waAL5-001ZoP-0K for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 10:51:15 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1waAL3-00As2G-2u for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Jun 2026 10:51:13 +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 1waAL3-00As28-25 for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 10:51:13 +0000 Received: from mail-dl1-x122b.google.com ([2607:f8b0:4864:20::122b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1waAL2-00000000xQx-0OZ1 for pgsql-bugs@lists.postgresql.org; Thu, 18 Jun 2026 10:51:12 +0000 Received: by mail-dl1-x122b.google.com with SMTP id a92af1059eb24-137dd4cc208so620720c88.1 for ; Thu, 18 Jun 2026 03:51:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781779871; cv=none; d=google.com; s=arc-20240605; b=Yo9fiX+Mp/ZpkYEfn7Ww43GhnJQiB5eDhV7LFrgPf7uTfF2XsZcAhHrQqJXW8mzy3m rjXzOWYFteLnq/fwwtewJCQ0LCW7r9uUeyjEa+N8WiLXsX3VYYyYd+HnBYhqFvs22HU0 ulmKk5DDkfjlVh9fjfE/XcTnD0TbHsOEfz5cyhi5QjO8JNRBY9pmGtMu5nn+8wMp4ajQ 5VhSznGhexgvvP+0iU0XQNHw5tHGmXfCf116j8b0dLr3NxwbOrjxuH+QYEtDiF6V+O1X IVJ88p7GCjkhFcUas/TeP17kChW6mVFIZVfhS/kS0ud+569dxCpAmm3BmNTSEo4cXFoX hGNA== 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=UygLz/KAbdObz4iA5OXNU0i+b31SrQKbs0ralRSyFeo=; fh=cpXXt+4NH56V69ANCfLaaMBLKZY8/f+k4tHlI15pFXA=; b=E+kBQ+dVL8ivTrmJaUGLjV796mITecj+OdbmsQhqeuNq0RlLFgL6JSzEsxsW42dPX0 mXM2/Rash9tggjQACNh57cn1ByfwYyoEaWYGeN4cVvShmt1rALfOeAacfJL32m0ba0Tr 3VRpH2KJvAM8Gr/Y/pLqc84Xqr4gAX52XXbe5OZtSDqVUt8H34VH27UcIqFEd4pzAeV+ /cu7IKanX6iptn7067M9RGjOwvhcUxh/ESXjlC85IFne+0jrUogBUUDBgiBEnRaSgDPG Avvr6OpMytWw2008wpBEu+vEtm9+VDOSwZMcdCT9V1CpVsovFQP67wcQyJ6kpS2TFzRW E7jw==; 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=1781779871; x=1782384671; 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=UygLz/KAbdObz4iA5OXNU0i+b31SrQKbs0ralRSyFeo=; b=bOM0Ub9DkDAkYHAsxm6TKc4qhygoy5Dh7gQch8cE3lHnJW1LxTYYSjQmJ3XeDNEmkg 6v6teA3I0U+aFhpA9ofy6Up3I6BmnO18T985lM3j1F2URWp+NpmsXA1UnfY+NGrT6tYr yUIj3kUiq9p7P3kk2NQ4/ZLY0ZiBP+gCn8WaOuoiuLiSY5bGdhUEdjeZI05boTXtp2wj f9C/KZwvNzRBCC4sxk7DMAFQ90k58SFEgbyZL/PdemErLZ5sAemlCCJC5VE9qajEGcRc EY9zdJp1jtjjJSnzuHph7oe03bb18PUhgbdgyQvvCivF2eyzLcv1BsortsVtF2zmJzl9 MLWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781779871; x=1782384671; 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=UygLz/KAbdObz4iA5OXNU0i+b31SrQKbs0ralRSyFeo=; b=o2rihegrBkLMSTU9UYd9Mbvp8O9uk0WWsVaE/6pyacA2CEKJ50W3tlkkhqA4MT1xCj JY4w6gbJV+6MQdp5/YansfF4TvQk038N6otYQeE1p3d3yzkWFCPXaZDr+rhv+d3mMYOa i6w5BjfXTEq8SQ3/DV6SjYzsRG8TuYJyHZZMpb3IAjDB+QUo20/h5ShuxosX4a13DhOX wSCO2UzieeGJNujwuo3J+mrU0kduGboyyQdGcYpBCEDMdHVNICWw9z2dK0gp4KolGOsV 5UjfPUPOjSQxbvBfjPEikthBttLZ56OKuAvYK5iwqiEdDPlBP4ZpxRbt9eQsQQeyVq0H AfKA== X-Forwarded-Encrypted: i=1; AFNElJ8oiwfGCh5cuUkW2svpPjVApxjZQ7dielX69iEfTg2FpVdty054nw5y3h627D/YfdYji4DlDYlyXHeS@lists.postgresql.org X-Gm-Message-State: AOJu0Ywc43WIz24nCUNiJSO6eyB11ss6tPdtTbZmGpJxYcIW1iQwu9rd ZQWDZOQowSmaHoAuNhmCXAKx85jTbef7RqWRdarr6ItjfuF/TB0cluCCRbX47T5lnqx+slSKwtv OV1fmiidBdAxD+zKk4WbIG9ooiqnIoiQ= X-Gm-Gg: AfdE7cngaFPISLo3hNT4I2XLyj6KsHXvg+Oo/TNT+O7fMdiMV8EecwKk2WCh7GPq8ls 6ERJNIIhEsDwAWEpbmX9Ru2SkhgwEY6gThDi4jyUuf9nS1Zbv0zk3AUiodafmfUp4cIP53OlA1z aGozLCnBGfNMEGW3S2gqtTlwNs2kJDift2NUDNc+fZy+kjYFGFV3JAxgCDwJtfyrAnXedAbnS5w RMkTXG/J+JYx3FqKgNjhPEM0QtLE7UoT+x3zmvfFOqaPf80HHkp2SC5K/4TLtyXuK6s4js4uC+T yPlVahz9hXUPtQBfX8ih+4qpUmh3yGNt5Ds0PMqQyLvSO8itchlzRFqqFSOaMzrDurMPeQUwdQk y1P6K3PACbHwfxLnQ32pk/PONvJ6+qQ== X-Received: by 2002:a05:7022:2201:b0:137:24c9:fb7a with SMTP id a92af1059eb24-13997192d0dmr2440374c88.2.1781779870753; Thu, 18 Jun 2026 03:51:10 -0700 (PDT) MIME-Version: 1.0 References: <19484-a3cb82c8cde3c8fa@postgresql.org> In-Reply-To: From: Etsuro Fujita Date: Thu, 18 Jun 2026 19:50:59 +0900 X-Gm-Features: AVVi8CfUf9ddm9j_t795Z0tSFsUf_yR-GsAF1EfpJL5EsSC8VjsvJW6squTwP9w 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 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.