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 1wXBHy-0036jM-3B for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2026 05:15:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wXBHx-009ERW-2s for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Jun 2026 05:15:41 +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 1wXBHx-009ERO-25 for pgsql-bugs@lists.postgresql.org; Wed, 10 Jun 2026 05:15:41 +0000 Received: from mail-yw1-x112c.google.com ([2607:f8b0:4864:20::112c]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wXBHv-00000002H2K-2bd6 for pgsql-bugs@lists.postgresql.org; Wed, 10 Jun 2026 05:15:41 +0000 Received: by mail-yw1-x112c.google.com with SMTP id 00721157ae682-7defee656dcso42830067b3.0 for ; Tue, 09 Jun 2026 22:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1781068537; cv=none; d=google.com; s=arc-20240605; b=D2XEJHSQzi1t4nO+YxYCSD4EMmqo4+2IKQcHGNp9LvX9tMm81qN2pAb1BvxlwhJsdi YevE27NWbI2VKiAKMPmXG1QwLiVNWlplXxNHp90tDknCh1iZ5mcqyVceYN3Hsu2Khxo5 ujNoa/qMTRJoQgklgBfyVi+PxqoMFgFLf2pXlXj7S4aTBpzMUYvkqqHhQh9rcTCoEYnw 5/OmhGGH0aj7tEBCrwPh7140lr65a8xons1jm30hGNVsbPmRHssRk3eRTxYGGal6g6dI QnL5PBucznSW+jeWRpZTzyjPRQD5KYlEiIYRY7N2T0Jl3p9FiFM4g6ZZ0XBq8YFXodDh gPsQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=Vxvz0z9TvU6YY/wlevKU3SdkcSb/qEQXqOcfbD503mg=; fh=yhLCO6js8JymmIcd/C1tJIZtO4jCJzmR+TJevZ1KWLc=; b=gqzHXnaFrKuoU8rMTKvBoZ4rGzG+nqikbaEguZRi7eWEFaL7SqlZbGJ/tFOIZBD5q4 B6TjOWwgFCE2TM/olGIL/S6RLSN87UtGwOTpaIlyTOFOcf9sSjOu8if3UrCwio/MOt3Q kGbUAPSLmzKSEvYg1uuDi8rfeddGiBYf9JClkFqznoKIxo9Fav6qkdURd+6vzg7jtgFH x9QfQrHyas9twJaE9YIfHXJQkytB966h+izmtuBwqqWrqGbIwWIGyz4niAnuyv+T3ws1 nZdSCZpLQ+eXmi+09yeXoeS6F7r5qAObiGS+OTdBqbOSY4oQiQksseDjxj839n1WJmLp Q+lA==; 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=1781068537; x=1781673337; darn=lists.postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Vxvz0z9TvU6YY/wlevKU3SdkcSb/qEQXqOcfbD503mg=; b=clh88bDvDrtUyoL4b70/rjND/kcOhIT5WDBBeRTKx8m+6kThK+pw6dLWW+o73ZfKLC uGu3EmEpZ6xbqHf1ghtAg0HzzlK7CHGsDj2adxM7zdrGJtokP2xgzxWrX6ljt0Oif4UG YWG1U7mEYiO0E+2/gX7tC50/qhqn0MwyfnIdNQoZGeBjxeVkfWwT4WddnJxZnuxSpRXx pPkPrJ8dnUhaBpRq/UQx721yqaXuCurkd2YTJNcId+2lkcJdBs33L9o5SaRczozJEB66 YqNqnHPEQ4GQc/iCRdL4mbrn8dZkQ03fnBFdkgdY2Q+JGWLyhnq/RJbElsIouMLwtkn9 ccfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1781068537; x=1781673337; h=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=Vxvz0z9TvU6YY/wlevKU3SdkcSb/qEQXqOcfbD503mg=; b=g0W2Iovb9h5XjjPcHE6keSQF8rNxKRIKyWPm61TQOzFtzxrR70Q6vGCuvsL6GTbyDl ocFQn0TNmHraNVGH0g4Pd++Lx3e06PNStf2+qRrYlWNv55sNyRNbv67EbNTTnjmUgwFa YSlnWSBPjBmlEucRhAz+7qxkDp4DuKiZ6Dxr9sONSLKSYdZU1rPRzMzI7hFLIrMQDvAf VMMvLisI7QUcsF0OAv+1zjmGiXJfA79AJeLXJ1J+w6EKG+qLGfR3D4lnfArp1UfdP4rJ 4g5UktDi57XuNofW9Y1PA5qNmdCBSf6GSrJBkzi1TFMQBjvMP4MjjSi3UOs2IOwpZcqT VXZg== X-Forwarded-Encrypted: i=1; AFNElJ+spGRK6Bdr17LiQjkLuBFEbgJywSgFe8Q3LjchoYauBVI9af+yLQXdOGkKs5aEAjRMe1R92V8E61nc@lists.postgresql.org X-Gm-Message-State: AOJu0YxVdR6sLidUvJYhqRPkcvDSWtIxKFO6tRZx4mAmhz01Ru2Q9Y9V LEyBaBlR55WGqaQ8h37MA9NHIIX/tx14XBGfdxr7BLbkZ9KEYTIaQnvhQljc+cT/yInmLgDbEvX k1yXh+VsD55eny3cTOJlnAOOuTbS6WcA= X-Gm-Gg: Acq92OEWG2JSFVVsQCtW1UpV8xmn1UkWq1DzczrARsHNHzHieEgelwSMLAuy9QjXTWN iavsHHoHqbjXedvIdzGPYBaeqdiIfBN1gi6AETCdHt7FwZLKgxeeN3evhKLISF5stOEqMbPYZ/A 7Lz/F9yu7UTl2K+PwiQ+Hqj+enXmOVf+b+Pa/XmWA6u6D6/tOeR4qoUQG1ewzqFHV0UIUyQgHyj M+pWdqo7+kdQ0e3Z4KYM0Wjk0RvJQbjCVWre5t7ZTT2x5C59GEkPjGxBE5fvxpP7TGb+v5uBUNr UgXEP6QidHabJc0OF4bjQk4x7RAbOUTV0r1BrZp3o4IsMIWG X-Received: by 2002:a05:690c:e3d2:b0:7dd:3f36:59d8 with SMTP id 00721157ae682-7ed0cfdfdcbmr231790307b3.13.1781068537411; Tue, 09 Jun 2026 22:15:37 -0700 (PDT) MIME-Version: 1.0 References: <19484-a3cb82c8cde3c8fa@postgresql.org> In-Reply-To: From: Ayush Tiwari Date: Wed, 10 Jun 2026 10:45:27 +0530 X-Gm-Features: AVVi8CctO2rETOItF7NvLvgriax--XNhiKNQ9rSS-3xVtN2U3zNBBKBh2ovVBP0 Message-ID: Subject: Re: BUG #19484: Segmentation fault triggered by FDW To: Matheus Alcantara Cc: Rafia Sabih , 798604270@qq.com, pgsql-bugs@lists.postgresql.org, Etsuro Fujita Content-Type: multipart/alternative; boundary="0000000000007e3e3e0653df5529" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --0000000000007e3e3e0653df5529 Content-Type: text/plain; charset="UTF-8" Hi, On Tue, 9 Jun 2026 at 20:40, Matheus Alcantara wrote: > > I think both patches should be squashed into a single one since they fix > the same underlying issue. I've done this locally and also ran pg_indent > over the result. Attached is the combined patch. > Thanks for this! > One minor naming observation: the new fdwPrivLists field in > ModifyTableState doesn't follow the mt_ prefix convention used by the > 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. Regards, Ayush --0000000000007e3e3e0653df5529 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

On Tue, 9 Jun 20= 26 at 20:40, Matheus Alcantara <matheusssilv97@gmail.com> wrote:

I think both patches should be squashed into a single one since they fix the same underlying issue. I've done this locally and also ran pg_inden= t
over the result. Attached is the combined patch.

<= /div>
Thanks for this!
=C2=A0
One minor naming observation: the new fdwPrivLists field in
ModifyTableState doesn't follow the mt_ prefix convention used by the other re-indexed lists (mt_updateColnosLists, mt_mergeActionLists,
mt_mergeJoinConditions). Should we rename it to mt_fdwPrivLists for
consistency?

I think yes, it makes sens= e to rename it.

Regards,
Ayush
--0000000000007e3e3e0653df5529--