pgsql: Remove redundant JSON parser typedefs

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема pgsql: Remove redundant JSON parser typedefs
Дата
Msg-id E1s0fx3-000IFo-8y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Remove redundant JSON parser typedefs

JsonNonTerminal and JsonParserSem were added in commit 3311ea86ed

These names of these two enums are not actually used, so there is no
need for typedefs. Instead use plain enums to declare the constants.

Noticed by Alvaro Herera.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e00b4f79e7367272b436dea6f15d6f421f3d6e1a

Modified Files
--------------
src/common/jsonapi.c             | 8 ++++----
src/tools/pgindent/typedefs.list | 2 --
2 files changed, 4 insertions(+), 6 deletions(-)


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

Предыдущее
От: John Naylor
Дата:
Сообщение: pgsql: Small cosmetic fixes in radix tree template
Следующее
От: David Rowley
Дата:
Сообщение: pgsql: Fix duplicated consecutive words in comments