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 1whN4v-000BIp-0s for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jul 2026 07:52:21 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1whN3u-00624K-1E for pgsql-bugs@arkaria.postgresql.org; Wed, 08 Jul 2026 07:51:19 +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 1whN3t-006248-1U for pgsql-bugs@lists.postgresql.org; Wed, 08 Jul 2026 07:51:18 +0000 Received: from fout-b4-smtp.messagingengine.com ([202.12.124.147]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1whN3s-000000007Qw-02kE for pgsql-bugs@lists.postgresql.org; Wed, 08 Jul 2026 07:51:17 +0000 Received: from phl-compute-02.internal (phl-compute-02.internal [10.202.2.42]) by mailfout.stl.internal (Postfix) with ESMTP id 8D4AC1D000C7; Wed, 8 Jul 2026 03:51:14 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-02.internal (MEProxy); Wed, 08 Jul 2026 03:51:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1783497074; x=1783583474; bh=UI4nZtTRL+pwKQli2o89eWacEfWCdHukaBrZOCjLyKo=; b= ARwsjyMtEahIRHqXBfcIAFlCuCSx4oXltEaeTxlQk/bZr8H3SoPxPXvttshTrZgH SQii6MJhef/U2KN0UBQz2mzeOTwEATw5dVTIw0I6KUyPKrDTtZkMcmcQJp1PwgqB /ZFMW6PwHUkjMbxU+ECE8UeLlyWU9P+MuIUCiT51n1gelkTvGw9+fpy1HSa/p6yg dLvudLydzVocHwNS4cocWI5tRJiYiYC+odrHkLvRTA0J/b270wdfYY+AIZgvURav FzmAmly/qWCuceWH7sOhNuGHaxYLAgq8thmxoKgHg5N1rXN+/yK8ToV8K7DfanJ8 vKG59Q5AxW66CtkPOI340A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1783497074; x=1783583474; bh=U I4nZtTRL+pwKQli2o89eWacEfWCdHukaBrZOCjLyKo=; b=RDdwqcT8X45Jerh1/ KdlauDTYcwbUyCbAkVEp8pCYYFUrIRPcsgyHs4EIeOKE44N9ykqayWNNc5S7j2Or NbMuKeCgJy7vToPRSkYTN+rhPXgc6xz5L3YlkrKbgDWfwLID2/e165hfmEOp5hGb /2Ack8MLvhd9bvAFTprbjlJf3c8Jxbc/r574Is+MNlmrNJ47PJ+K7qxFAE5WjAGf jq39o48sHq2e8zZDGyAna43gVgRXU8oSV1D8OCLvESN/nsMqC86oLLdGmE7oaYbG 2giYJZZRCsKIsZelnFUnBrJMDYT51d4IYQSZswb8/WFfBRGGZxMUqQ1leyK8roA0 Bu0gw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: dmFkZTGAyQQjXytfm2Ah0aEq4G1OZb3ytilkqT1UeN73X78Xd+EcqqdWu/hl9+HlZQl6in SxJCyxm32POeXLoR7VkAAjm0gkO6ci1+ZTZOtTn9MhAUagCFucHo2odnfuYhDv6Ou46Ahq Fy8NhZweG8fDqQwrqRqE/xGRnwnYVUhk9MEFzteUcNXLxBvAPVXUgULbdlcmKeFuse4XNe AN6fz5SC6Svu2DKRV8NY1Khy/3HCoeKFc9tGHHU9Rwy2FmzxG5f1Es+DvIitwyy/C4/0Qs TOaXJ9cWeS8vryKREZhUXGf/lnlpiQLYdklExhUOcOdbx0DvF3L1svIZFN4JrSHuX/CttF PXc9sewM6ca9gbYYsFai7FgprSW6DpxBVnHJ+wUpXhPY+cHY85U5mLVMw6jRzHg34nlyYs 1hzRI1NYqYEgWdrIr4tN4QQJJfXGKsndkYovFv78GNt9ucfUtybYeuaQyTpwZApkxuH796 gc+0OOWJ+AX4mZZJ8OPnF1I5TGJw6+1NI2AZ4QdfnbEzSKcISNQyKEOZTz4fjdxWKgUHbQ wcZ1T6dsIlQ2bLFqgDZGz19zQyp9kFkPjsSnuU57xP+yp3p9TSXnyvZxBbHKDtOJ75idzG 51w9CuCZuIAXrLM6IieAIqgr5VJzoxW9R4Ipe364k9kEXB3JAY2jwmX4M81w X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 8 Jul 2026 03:51:13 -0400 (EDT) Message-ID: <42ba85f6-b38c-416e-97cb-595073e6956a@eisentraut.org> Date: Wed, 8 Jul 2026 09:51:11 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: BUG #19542: Boolean syntax in GRAPH_TABLE To: vaibhave postgres , h.lefebvre.69@gmail.com, pgsql-bugs@lists.postgresql.org References: <19542-97a0785e900e2fde@postgresql.org> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 05.07.26 10:20, vaibhave postgres wrote: > Thanks for reporting. > > The crash comes from replace_property_refs() (src/backend/rewrite/ > rewriteGraphTable.c) which rewrites the GraphPropertyRef nodes. > > It calls expression_tree_mutator() directly on the top level node > instead of calling it's mutator (replace_property_refs_mutator()) which > treats GraphPropertyRef as a leaf & just copies it unchanged. > > ``` > case T_GraphLabelRef: > case T_GraphPropertyRef: > case T_MergeSupportFunc: > > return copyObject(node); > > ``` > > > The fix is to call the mutator directly at the entry point. Thanks, this has also been discovered in [0], and the fix there is the same. [0]: https://www.postgresql.org/message-id/flat/20260630173053.51.noahmisch%40microsoft.com