pgsql: Rename grammar nonterminal to simplify reuse

Started by Peter Eisentraut4 months ago1 messagescomitters
Jump to latest
#1Peter Eisentraut
peter_e@gmx.net

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: /messages/by-id/a855795d-e697-4fa5-8698-d20122126567@eisentraut.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(-)