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 1wMJw8-002Nj8-0Z for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 06:16:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wMJw6-00GIRY-3C for pgsql-hackers@arkaria.postgresql.org; Mon, 11 May 2026 06:16:14 +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 1wMJw6-00GIRP-2G for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2026 06:16:14 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wMJw4-00000001EZi-1y3b for pgsql-hackers@lists.postgresql.org; Mon, 11 May 2026 06:16:13 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-48e82c23840so3520915e9.3 for ; Sun, 10 May 2026 23:16:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778480171; cv=none; d=google.com; s=arc-20240605; b=iZovTE9bsnEvY/+IkzPefppByg/ItehMOZRKF7QbesLECgkhY5yWacHdCa6lU3B4sO KSTNELjxI4UXlqaVxrYzwKNcmIOVzkM7LMD60oSVm5FSJFmeR1nMSAtTStBsR4vKYC77 LBwwI/9mkrUSWCLkZ/kDN9V7Ce7Q5szGGWh+qWKiX8o096ZZCJnLhKD2ojrxU89WNOwj RXTXcwPV4ZqRmM3tgPEi8WYrtlZHR5yolWyVWZOQR3dyIKLmJ+6xE2/pYaKZ8yCspQRK A8G7Lx0z5d5QY80sWgu1qgmOCP0h8iJs++Gu6ALsCq0tMzNXss8ND4JiZ18BWf5zez4g 8mKQ== 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=qaX/lTviaCMgJ0VnRYxtVBl0R4XAKwwk0zAYtGh6aLU=; fh=rN7f0GJIXPmpx6pjN2CMGZv1xX2jtDmO5NZXZo6+hhY=; b=dvKyGPwzEhKRH5e0LEsDehCu01CxZ8hAVf29UPPa/SRh2SjSI5BrUoN2mtFYxzIyq6 IfU0byA8g8h05xrNC7HlyXX8+KThL6VRR/WpQsYxhU7R9BXuKk2uA4C64v0brt7K59si baKB6ha5W5vwEtklZZzbhHoucMHFFDJSo8Sve4bxDm5/f/pS8UCwcUMe4AxM6m+fvQtC sU6v0i/tSc82EOHvEgeqNlCtuR8hTHtQlDi3R8z/Jxb1sgpg5+DpZxs+Z7NOWfgtmFv5 NSP2Nusp6OfOh8d6aQMkBANP6gU81ePSyPl9SXTb9SutEyak3oIaHIFrt37vGGsTZ+tq pH7A==; 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=1778480171; x=1779084971; 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=qaX/lTviaCMgJ0VnRYxtVBl0R4XAKwwk0zAYtGh6aLU=; b=BESlmmdr24bOpIvNf7tOJYKocsbhGphc/B+MD89pyVBcYT5nV5gXQHFbPDq7P8y26B Y4u3sVSYdpr4fgFrbho1/CQ9+bcIh7SaGy41Wtzq+Wg2WemonFPWAjZGkdKKZKxvo5uI jHPPTcB8c8uzJsEcKnZJdpbMShTgAiup0C7BRbnEavI/cNzNVj8C32uH7Ley6V7UQyh8 WQ3iFYDHiu8oOWxzYAJxHSmHdFv3PjbEn85RLG3yezSG3E/DIOeuJLupROeRT7viSM/a bjV+0E6Gh0iqDlhz9Ol3xxbHB4AZBWEnXt6xI9k9iBjbDTwxhvVGQrUjVNiwbsaOIDQ9 CGEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778480171; x=1779084971; 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=qaX/lTviaCMgJ0VnRYxtVBl0R4XAKwwk0zAYtGh6aLU=; b=CVJRFCPEM2JUptrFC/RiRw8i+pOWK8mgcZMN0JOi0gxEnMg0kTeSfQRLTL3sJPpPSP CRXV02LN9AJxIdFJPvf/EUYDREqnvvtIcoAlvpkBb/+TUX9XNvYupsU2PmtrLj6RwzFs dx1hz131ZtuwWsBC6jANtZJ3k7gOwz6xd+bmVm2oeDpF/5Bh1RyPijbu1HPscnE18Aeo IRRBpvQMALBezKKYL3BI32w56gKdgDWt8VnEEPj3Ojy/t5YxCw9p5c0cjoUb3t93isKv AlWtemxA8fpFwzNLFPtBNr3WdoRYX4/p1AjJV6TyqikPyMUfEaqkl9s8rVB5Yz7S4iBT FyqQ== X-Forwarded-Encrypted: i=1; AFNElJ/0efhNufno49h5ebuukRaaa99/bUQ20BfGCNqgLVzaPcVaMtyfZWHBn1VO33QPM0Lq12Zd22bNAzUERUu6@lists.postgresql.org X-Gm-Message-State: AOJu0YzuYC0F6KjfoUYB1vX+6IxMgbyzdfDCKYtWnEfyOjBXnOvbhFUk rlVo5skUs0tfR01qjJtpWA/v56vGbcuiRj4qH8A0ksT6yVRervfLA2Lm/FsudT0wf9i+NEWfpys WkX/Vs0e5QmaFhjFRxgv/DiUfO+IlcN2L7Q== X-Gm-Gg: Acq92OFLzZH0KJOxEA4IJsedMsZVlZro9HiStlcQZgAYfy8r0wBkIuAOIlAtDZv7e8y I3g0Rxv9llwgq7ReP5BWsZJOg8A+lu7CAWUTrQFFaMsAiLYmWqaSBh7FR58zedYBl7sF5X062D7 gNz5/hpaX7g+1wHbDMSj3zwJp7k87xKn5A9cgR4vDyDpxyO9xfTWIcUqu0zUKfiXQV/SdJRJucq 3izWtaVCniAD715wpRlHLb2cvMXwuXuhy0PeU94Z3GXkwFgW+nJIh6B4GiEUJw71PIOvynEKOz+ 8EIHNVj8SWLG8+Dy4ZNdPTQ+MDWXf5sOc9+2MwHkSF4hLxBxpb3nkgpamSKP4A== X-Received: by 2002:a05:600d:1:b0:48e:7f1c:8760 with SMTP id 5b1f17b1804b1-48e7f1c87bdmr58197205e9.27.1778480171302; Sun, 10 May 2026 23:16:11 -0700 (PDT) MIME-Version: 1.0 References: <19895d96-a27a-4e8a-a67f-f6dcf0ed4f82@eisentraut.org> In-Reply-To: <19895d96-a27a-4e8a-a67f-f6dcf0ed4f82@eisentraut.org> From: Ashutosh Bapat Date: Mon, 11 May 2026 11:45:59 +0530 X-Gm-Features: AVHnY4JXmn4MsVAsT3NvS_5aJHTgpZclGN4XzsiWlDdZXDhqTfoB_yXtpxSwk2Y Message-ID: Subject: Re: [Patch]Add Graph* node support to expression_tree_mutator To: Peter Eisentraut Cc: Robert Haas , SATYANARAYANA NARLAPURAM , PostgreSQL Hackers 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 Mon, May 4, 2026 at 9:09=E2=80=AFPM Peter Eisentraut wrote: > > On 30.04.26 08:44, Ashutosh Bapat wrote: > > On Thu, Apr 30, 2026 at 2:17=E2=80=AFAM Robert Haas wrote: > >> > > > > Thanks for reviewing the patch. > > > >> Thanks for working on this. I ran into it independently today, and > >> then discovered this thread. In expression_tree_mutator_impl, > >> T_GraphLabelRef can be added to the "Primitive node types with no > >> expression subnodes" section just as was done in > >> expression_tree_walker_impl. > > > > Right. Fixed in the attached patch. Both GraphPropertyLabel and > > GraphLabelRef need to be placed in that section since both are > > primitive nodes. > > Committed. (I reformatted the test query a little bit as you had > suggested upstream. Also, the ordering of the switch cases was slightly > different between the walker and the mutator, which I fixed.) > Thanks. The changes look good to me. --=20 Best Wishes, Ashutosh Bapat