| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Property references are preferred over regular column references |
| Date: | 2026-03-31 09:53:08 |
| Message-ID: | E1w7VmV-002I3V-0Y@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(dot)bapat(dot)oss(at)gmail(dot)com>
Reviewed-by: Henson Choi <assam258(at)gmail(dot)com>
Discussion: https://www.postgresql.org/message-id/CAExHW5u6AoDfNg4%3DR5eVJn_bJn%3DC%3DwVPrto02P_06fxy39fniA%40mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/c5b3253b8abd7b89689d1095c7c1154b784ca9c9
Modified Files
--------------
src/backend/parser/parse_expr.c | 14 ++++++++++----
src/test/regress/expected/graph_table.out | 18 ++++++++++++++----
src/test/regress/sql/graph_table.sql | 6 +++++-
3 files changed, 29 insertions(+), 9 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Christoph Berg | 2026-03-31 10:18:49 | Re: pgsql: test_aio: Add basic tests for StartReadBuffers() |
| Previous Message | Amit Langote | 2026-03-31 08:08:41 | Re: pgsql: Add fast path for foreign key constraint checks |