pgsql: parser: centralize common auxiliary productions

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема pgsql: parser: centralize common auxiliary productions
Дата
Msg-id E1oEqdQ-000ir8-JX@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
parser: centralize common auxiliary productions

Things like "opt_name" can well be shared by various commands rather
than there being multiple definitions of the same thing.  Rename these
productions and move them to appear together in gram.y, which may
improve chances of reuse in the future.

Discussion: https://postgr.es/m/20220721174212.cmitjpuimx6ssyyj@alvherre.pgsql

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7d158e8cb44b602ab76a3660b9f5f5c5c5992a1f

Modified Files
--------------
src/backend/parser/gram.y | 89 +++++++++++++++++++++++------------------------
1 file changed, 44 insertions(+), 45 deletions(-)


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

Предыдущее
От: Thomas Munro
Дата:
Сообщение: pgsql: Remove unnecessary Windows-specific basebackup code.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix minor memory leaks in psql's tab completion.