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 1wfenv-005ZHw-2N for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Jul 2026 14:23: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 1wfent-007rWS-17 for pgsql-bugs@arkaria.postgresql.org; Fri, 03 Jul 2026 14:23:41 +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 1wfduA-007aIc-2T for pgsql-bugs@lists.postgresql.org; Fri, 03 Jul 2026 13:26:06 +0000 Received: from mahout.postgresql.org ([2001:4800:3e1:1::227]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wfdu8-00000001JU3-3Ej0 for pgsql-bugs@lists.postgresql.org; Fri, 03 Jul 2026 13:26:05 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=postgresql.org; s=20171124; h=Message-ID:Date:Reply-To:Cc:From:To:Subject: Content-Transfer-Encoding:MIME-Version:Content-Type:Sender:Content-ID: Content-Description:In-Reply-To:References; bh=u/JJWkLHAnFblyIgeX+toNkB5JuKUMyHm2a+JAgdGJ0=; b=ppAsWwSzr3ZyW3VOpH3YJD6nwb JjbHjO7+F4+euGwJYTaW02nu3egujblTcxtJvwfBgU6KT12WlNXfJI3kOHCOUSGSFRcBbEslsYwwM wuLS3mancBRRC9pie1LwAgVSiZpYLI1edbMnXjLl/2WqD99DgTWohJ1T/74g4FyxhEacYp+b4ItM/ IUDnawVuTx6C/AMX+y0T/3m/0uSANyoREDFFVWCHbngYR+NcQRSeKt+R4pHZ58JQPHVIe7Ao2fpjs 3z8JbCMg3D0/XpziMutBlKm6IadrPyUK3C+3t6W5AtmQdBVw9Gym1zuKr2+93L3tH3JjWJXSZyAfk p/V52YeA==; Received: from wrigleys.postgresql.org ([2a02:16a8:dc51::60]) by mahout.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wfdu8-00A6p3-1M for pgsql-bugs@lists.postgresql.org; Fri, 03 Jul 2026 13:26:04 +0000 Received: from localhost ([127.0.0.1] helo=wrigleys.postgresql.org) by wrigleys.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wfdu7-00AYA6-0K for pgsql-bugs@lists.postgresql.org; Fri, 03 Jul 2026 13:26:03 +0000 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Subject: BUG #19542: Boolean syntax in GRAPH_TABLE To: pgsql-bugs@lists.postgresql.org From: PG Bug reporting form Cc: h.lefebvre.69@gmail.com Reply-To: h.lefebvre.69@gmail.com, pgsql-bugs@lists.postgresql.org Date: Fri, 03 Jul 2026 13:25:52 +0000 Message-ID: <19542-97a0785e900e2fde@postgresql.org> X-Auto-Response-Suppress: All Auto-Submitted: auto-generated List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk The following bug has been logged on the website: Bug reference: 19542 Logged by: Herv=C3=A9 Lefebvre Email address: h.lefebvre.69@gmail.com PostgreSQL version: 19beta1 Operating system: Linux Description: =20 In MATCH clause you cannot use "WHERE boolean" Syntax. aka : select * from GRAPH_TABLE (trajet MATCH ( a IS quai where a.nom_station=3D'Place des F=C3=AAtes' )-[t IS dessert where t.correspondan= ce ]->(b IS quai) columns (a.nom_station as station1, a.num_ligne as ligne1, b.nom_station as station2, b.num_ligne as ligne2, T.correspondance as correspondance)); ERROR: unrecognized node type: 63 You have to add " =3D true" (ugly) : select * from GRAPH_TABLE (trajet MATCH ( a IS quai where a.nom_station=3D'Place des F=C3=AAtes' )-[t IS dessert where t.correspondan= ce=3Dtrue ]->(b IS quai) columns (a.nom_station as station1, a.num_ligne as ligne1, b.nom_station as station2, b.num_ligne as ligne2, T.correspondance as correspondance)); station1 | ligne1 | station2 | ligne2 | correspondance -----------------+--------+-----------------+--------+---------------- Place des F=C3=AAtes | 7bis | Place des F=C3=AAtes | 11 | t Place des F=C3=AAtes | 11 | Place des F=C3=AAtes | 7bis | t (2 rows)