public inbox for [email protected]  
help / color / mirror / Atom feed
From: PG Bug reporting form <[email protected]>
To: [email protected]
Cc: [email protected]
Subject: BUG #19542: Boolean syntax in GRAPH_TABLE
Date: Fri, 03 Jul 2026 13:25:52 +0000
Message-ID: <[email protected]> (raw)

The following bug has been logged on the website:

Bug reference:      19542
Logged by:          Hervé Lefebvre
Email address:      [email protected]
PostgreSQL version: 19beta1
Operating system:   Linux
Description:        

In MATCH clause you cannot use "WHERE boolean" Syntax. aka :

select * from GRAPH_TABLE (trajet MATCH ( a IS quai where
a.nom_station='Place des Fêtes' )-[t IS dessert where t.correspondance ]->(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 " = true"  (ugly) :
select * from GRAPH_TABLE (trajet MATCH ( a IS quai where
a.nom_station='Place des Fêtes' )-[t IS dessert where t.correspondance=true
]->(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êtes | 7bis   | Place des Fêtes | 11     | t
 Place des Fêtes | 11     | Place des Fêtes | 7bis   | t
(2 rows)








view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: BUG #19542: Boolean syntax in GRAPH_TABLE
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox