From 5edf438eeb00271cca5d19d0ea10a2d6e8d018c4 Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Sat, 8 Jul 2023 15:50:35 +0200 Subject: [PATCH] Make some indentation in gram.y consistent Reviewed-by: Amit Langote Discussion: https://www.postgresql.org/message-id/flat/CA+HiwqE4XTdfb1nW=Ojoy_tQSRhYt-q_kb6i5d4xcKyrLC1Nbg@mail.gmail.com --- src/backend/parser/gram.y | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/src/backend/parser/gram.y b/src/backend/parser/gram.y index 39ab7eac0d1..edb6c00ece6 100644 --- a/src/backend/parser/gram.y +++ b/src/backend/parser/gram.y @@ -645,23 +645,20 @@ static Node *makeRecursiveViewSelect(char *relname, List *aliases, Node *query); %type hash_partbound %type hash_partbound_elem +%type json_format_clause_opt + json_value_expr + json_output_clause_opt + json_name_and_value + json_aggregate_func +%type json_name_and_value_list + json_value_expr_list + json_array_aggregate_order_by_clause_opt +%type json_encoding_clause_opt + json_predicate_type_constraint +%type json_key_uniqueness_constraint_opt + json_object_constructor_null_clause_opt + json_array_constructor_null_clause_opt -%type json_format_clause_opt - json_value_expr - json_output_clause_opt - json_name_and_value - json_aggregate_func - -%type json_name_and_value_list - json_value_expr_list - json_array_aggregate_order_by_clause_opt - -%type json_encoding_clause_opt - json_predicate_type_constraint - -%type json_key_uniqueness_constraint_opt - json_object_constructor_null_clause_opt - json_array_constructor_null_clause_opt /* * Non-keyword token types. These are hard-wired into the "flex" lexer.