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 1wXIy8-003BV6-0h for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2026 13:27:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXIy7-00BgzJ-0A for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2026 13:27:43 +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 1wXIy6-00Bgz8-2Y for pgsql-bugs@lists.postgresql.org; Wed, 10 Jun 2026 13:27:42 +0000 Received: from mail-pj1-x102d.google.com ([2607:f8b0:4864:20::102d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXIy5-000000020yO-0oRI for pgsql-bugs@lists.postgresql.org; Wed, 10 Jun 2026 13:27:41 +0000 Received: by mail-pj1-x102d.google.com with SMTP id 98e67ed59e1d1-36d6bb38b44so4417281a91.0 for ; Wed, 10 Jun 2026 06:27:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781098060; cv=none; d=google.com; s=arc-20240605; b=dX1vG/XmfE+7yWa6zNePLQCP8qel/nkeVdXspZNkmHnNSJ0sIDLkSl4UAmw3Qx73el hn5qIUYUUvicK3+qnHs9KUf/A3NUShugCp1OaJS5TIhW8wEGprFIe4MvHKNvjypLvJl8 7EE7ZA/cnVnWRyvZiTONaMa8wNra6B/pEEYbRp5tFHGazdojCLojAbOB0a2g6ZA68cUP rBlc14mShPG/6VmT9xC5BIyG154i/JF/BwBf/nXOo1AdOQw5RzaIIvhXfejKeOzyTz3R EIrtL4sHYGqPm2CjwARDB95wbWA1UfG9Up4D/CIqaZOBMjg91I2gdpDjSxBSK92zF4lL nfrg== 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=FJk0OzPQJ8RJBv1IAj5ewkhssT8eM696+nQ9hjIdFDQ=; fh=ITBPefvU73zGqbieHV20IMpPX/43uZAR+pF+F1aCtHo=; b=HQyQlujXJTDWR6h47u+tLOWQnf15kyhmvckoVOFfWS0UgsWwSdw502DXWk6DQutPBW TA18ZCOSi41U7UMZjN0x+4UvBIBYrIevJItM605mY7HnaHCEZEiyBl1MLjzDG6fLbRv9 A0Ztblc3Er4In309DNupeTCHWa21ePgXaYreJz/Xc8ETibC2veT/urczr0FFXH0XLk7t ddMC9HO2jai5f/v+eeEyxQQfaqV8+3uoACu+hlL69dJDafGDYpNrQdyHZ89Nzlyu3ZUL l1W73W0fz++X127+aI6mzFyow4CQ/rmXl5UBrqft4BRxLUZYac7MVV/2C6jMltzcRY9x LsXA==; 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=1781098060; x=1781702860; 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=FJk0OzPQJ8RJBv1IAj5ewkhssT8eM696+nQ9hjIdFDQ=; b=GG4tN10TsIvF2NypVk3Jee40NflGWMp7kC/otWyEAWKXF0smWmsmqKEJ0WcMZ5o0Ee 80SFEaBrqMoi+Grr2xFXS9txv4p69upZ9GoiViWeMsB05eilR2k55XAFdr4zllzzs+24 hl9h8UmRK3sM4bOvF3aBqnO1yIeBUKRrHj1UYMKPTtimLgM0NlEA1Jtm/dMsW6L5Y2U4 KwLlkJP9cbnsFglkyNeRZA+Ee5LtjbRxXjrqAGL4tJnjL1Lz76iix/WI9D88YrF1yvfy l8seuUgVXzpY2rTdoAdXJvrWTshQBtXXhf1FCFl201NugrSpyccgGJlcGPqBUj4fmKWn pNiA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781098060; x=1781702860; 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=FJk0OzPQJ8RJBv1IAj5ewkhssT8eM696+nQ9hjIdFDQ=; b=h4GtcM8BIOHYptkym1Iag55X+3CAT+MS4KRd8c5bUG7wc3hgJZvufuOefCvIpBbQKz tOKNMy7AYzrtlIKjdoCG42jRQarRa+mQWo8YhrVWOf5o0ZWq64mg8p/9U08RIOgef8kv q7kLw4Y1t2woIVmdogrwz/ljn9dXQA8tZRB0tP65VyLdTk1pCbpSEvUwoAiXhL6g4anW oMuoSoWBvpwlJgi5+/at4iPBIwAXjjCbwVZB9p6sWW7OOayDzTd9lj4ubifgO3VTVaGP NAH3HaHeyjHf3RXX/j/72aprARL5/n11mA/E0Zea1sZqlcKKezuI9Jpxihoh9nxq/cLN xtDg== X-Forwarded-Encrypted: i=1; AFNElJ9/gieQAOZ8jRwj9Ek+v99Mbr9bsKyFb9rbc5a4UTGaS7adkruTGLzDVYvVWYqk+b4N2xAhjhynpjqa@lists.postgresql.org X-Gm-Message-State: AOJu0YyJwFCNb5Ros9dKn1e9MZkeuSRw0f/3ucrCxL3pKIUSQA8wonBo ShXYcwIctOGD+RsX3j5EtuwGkpCwMryZxWi134QAcXCWK799ePePiOEkJymuzOUpRT0YUSZTAzK yFhEX1BB801CoHtZVaH12t7sgOVXhLBw= X-Gm-Gg: Acq92OGNEqvLt0eXheocGLv8sUUeLGg24CwjPgAII3ywnpL2guMZmWDIM7hyGT0Ahmc 4BYtTZ3KaQSHJ3kcRdMXy5rBqwIaIuSp0JKDbe/9vkaRejiMYnBoGA4HNi4SjRAG8DyfnOdpG1I /ndTbMQsDl8SOKCqSnDWtVq+c/R2UsBKN/kUR/4D4HhbVA/mvtUrt/GCTIs9BYMMxxIU3ncUjQ0 1HTMCewmMyPFmF8v4fFfjwBh/7BmZYyGdEHJTlknyGm53E0slaD2hoyDHSJacmJ36UJwWKeV/WT ztU1c0kQsWmgAkM9A94HKKgICrJ948t49VKTpc1d0vOrlojZlt5JNi0gMKp7fLZlcYNwIUmZ7Kw = X-Received: by 2002:a17:90b:3fd0:b0:36b:293:68d1 with SMTP id 98e67ed59e1d1-370f0772017mr26441794a91.16.1781098060057; Wed, 10 Jun 2026 06:27:40 -0700 (PDT) MIME-Version: 1.0 References: <19484-a3cb82c8cde3c8fa@postgresql.org> In-Reply-To: From: Amit Langote Date: Wed, 10 Jun 2026 22:27:22 +0900 X-Gm-Features: AVVi8CfvsUVBwlLXI8W38ijUjOfCG99n0C7pCltnxC5wy5DBGtj00TK8TBPHrUM Message-ID: Subject: Re: BUG #19484: Segmentation fault triggered by FDW To: Matheus Alcantara Cc: Ayush Tiwari , Rafia Sabih , 798604270@qq.com, pgsql-bugs@lists.postgresql.org, Etsuro Fujita , 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 10, 2026 at 10:09=E2=80=AFPM Amit Langote wrote: > On Wed, Jun 10, 2026 at 8:09=E2=80=AFPM Matheus Alcantara > wrote: > > On Wed Jun 10, 2026 at 2:15 AM -03, Ayush Tiwari wrote: > > >> One minor naming observation: the new fdwPrivLists field in > > >> ModifyTableState doesn't follow the mt_ prefix convention used by th= e > > >> other re-indexed lists (mt_updateColnosLists, mt_mergeActionLists, > > >> mt_mergeJoinConditions). Should we rename it to mt_fdwPrivLists for > > >> consistency? > > >> > > > > > > I think yes, it makes sense to rename it. > > > > > > > Attached v2 renamed, thanks. > > > > (Also CC Amit on this since he committed cbc127917e0 which I believe > > that is when the issue started) > > Thanks for adding me. I'll take a look at this early next week. I looked, and the patch seems straightforward enough. Before committing it, I'd like to wait briefly to see if Fujita-san has any thoughts on the FDW-side concerns, since he has already chimed in on the thread. -- Thanks, Amit Langote