Thread: pgsql: Clean up new JSON API typedefs

pgsql: Clean up new JSON API typedefs

From
Peter Eisentraut
Date:
Clean up new JSON API typedefs

The new JSON API uses a bit of an unusual typedef scheme, where for
example OkeysState is a pointer to okeysState.  And that's not applied
consistently either.  Change that to the more usual PostgreSQL style
where struct typedefs are upper case, and use pointers explicitly.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ff41a5de0995f01a98b6fbc3a0c774b9a53e609a

Modified Files
--------------
src/backend/utils/adt/json.c      |   29 ++++---
src/backend/utils/adt/jsonfuncs.c |  166 ++++++++++++++++++-------------------
src/include/utils/jsonapi.h       |    7 +-
3 files changed, 100 insertions(+), 102 deletions(-)