| From: | Peter Eisentraut <peter(at)eisentraut(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Rename grammar nonterminal to simplify reuse |
| Date: | 2026-03-10 13:18:12 |
| Message-ID: | E1vzwyS-003JPz-1g@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Rename grammar nonterminal to simplify reuse
A list of expressions with optional AS-labels is useful in a few
different places. Right now, this is available as xml_attribute_list
because it was first used in the XMLATTRIBUTES construct, but it is
already used elsewhere, and there are other possible future uses. To
reduce possible confusion going forward, rename it to
labeled_expr_list (like existing expr_list plus ColLabel).
Discussion: https://www.postgresql.org/message-id/flat/a855795d-e697-4fa5-8698-d20122126567(at)eisentraut(dot)org
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/8080f44f96a978ce94f7e6b44df1158880525e01
Modified Files
--------------
src/backend/parser/gram.y | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Fujii Masao | 2026-03-10 13:56:39 | pgsql: Remove duplicate initialization in initialize_brin_buildstate(). |
| Previous Message | Robert Haas | 2026-03-10 12:58:20 | pgsql: Allow extensions to mark an individual index as disabled. |