pgsql: Remove redundant JSON parser typedefs - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Remove redundant JSON parser typedefs
Date
Msg-id E1s0fx3-000IFo-8y@gemulon.postgresql.org
Whole thread Raw
List 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 by date:

Previous
From: John Naylor
Date:
Subject: pgsql: Small cosmetic fixes in radix tree template
Next
From: David Rowley
Date:
Subject: pgsql: Fix duplicated consecutive words in comments