Re: SQL Property Graph Queries (SQL/PGQ)
| От | Peter Eisentraut |
|---|---|
| Тема | Re: SQL Property Graph Queries (SQL/PGQ) |
| Дата | |
| Msg-id | 6fc1c996-93b1-43df-ba13-e94933cf3dfb@eisentraut.org обсуждение |
| Ответ на | Re: SQL Property Graph Queries (SQL/PGQ) (Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>) |
| Ответы |
Re: SQL Property Graph Queries (SQL/PGQ)
|
| Список | pgsql-hackers |
On 20.03.26 14:42, Ashutosh Bapat wrote: >> We should either: >> >> (1) Support G041 fully -- both directions. Junwang's patch handles >> this cleanly with minimal code change, or >> (2) Not support G041 -- reject all non-local element pattern >> references, throwing an error for both directions. >> >> What do you think? > > We will support the cross variable references in future once we > support more path patterns leading to a more mature code in that area. > But it doesn't harm to support backward references which can be easily > supported now. I don't see the code to do so getting disturbed as it > matures. For the segmentation fault a simple fix to add graph_pattern > suffices for now. Let's see if Peter has a different opinion. I think we should not allow non-local references in either direction (until we implement feature G041), option 2 above. Allowing only backward references seems kind of an arbitrary implementation artifact.
В списке pgsql-hackers по дате отправления: