Property references are preferred over regular column references

Peter Eisentraut <peter@eisentraut.org>

Commit: c5b3253b8abd7b89689d1095c7c1154b784ca9c9
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-03-31T09:47:19Z
Property references are preferred over regular column references

When a ColumnRef can be resolved as a graph table property reference
and a lateral table column reference prefer the graph table property
reference since element pattern variables in the GRAPH_TABLE clause
form the innermost namespace.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Reviewed-by: Henson Choi <assam258@gmail.com>
Discussion: https://www.postgresql.org/message-id/CAExHW5u6AoDfNg4%3DR5eVJn_bJn%3DC%3DwVPrto02P_06fxy39fniA%40mail.gmail.com

Files

Discussion