Re: pgsql: Common SQL/JSON clauses

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: pgsql: Common SQL/JSON clauses
Дата
Msg-id 20220322223319.so4ajcki7wwaujin@alap3.anarazel.de
обсуждение исходный текст
Ответ на pgsql: Common SQL/JSON clauses  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pgsql: Common SQL/JSON clauses  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-committers
Hi,

On 2022-03-22 21:34:25 +0000, Andrew Dunstan wrote:
> Common SQL/JSON clauses
> 
> This introduces some of the building blocks used by the SQL/JSON
> constructor and query functions. Specifically, it provides node
> executor and grammar support for the FORMAT JSON [ENCODING foo]
> clause, and values decorated with it, and for the RETURNING clause.
> 
> The following SQL/JSON patches will leverage these.

This currently triggers a number of warnings. I assume that's because of the
following patches not being there yet? How far out are those?

/home/andres/src/postgresql/src/backend/parser/gram.y: warning: 6 nonterminals useless in grammar [-Wother]
/home/andres/src/postgresql/src/backend/parser/gram.y: warning: 9 rules useless in grammar [-Wother]
/home/andres/src/postgresql/src/backend/parser/gram.y:15249.1-15: warning: nonterminal useless in grammar:
json_value_expr[-Wother]
 
15249 | json_value_expr:
      | ^~~~~~~~~~~~~~~
/home/andres/src/postgresql/src/backend/parser/gram.y:15256.1-22: warning: nonterminal useless in grammar:
json_format_clause_opt[-Wother]
 
15256 | json_format_clause_opt:
      | ^~~~~~~~~~~~~~~~~~~~~~
/home/andres/src/postgresql/src/backend/parser/gram.y:15268.1-19: warning: nonterminal useless in grammar:
json_representation[-Wother]
 
15268 | json_representation:
      | ^~~~~~~~~~~~~~~~~~~
/home/andres/src/postgresql/src/backend/parser/gram.y:15276.1-24: warning: nonterminal useless in grammar:
json_encoding_clause_opt[-Wother]
 
15276 | json_encoding_clause_opt:
      | ^~~~~~~~~~~~~~~~~~~~~~~~
/home/andres/src/postgresql/src/backend/parser/gram.y:15281.1-13: warning: nonterminal useless in grammar:
json_encoding[-Wother]
 
15281 | json_encoding:
      | ^~~~~~~~~~~~~
/home/andres/src/postgresql/src/backend/parser/gram.y:15285.1-22: warning: nonterminal useless in grammar:
json_output_clause_opt[-Wother]
 
15285 | json_output_clause_opt:
      | ^~~~~~~~~~~~~~~~~~~~~~


Greetings,

Andres Freund



В списке pgsql-committers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Common SQL/JSON clauses
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pgsql: Common SQL/JSON clauses