pgsql: Clean up new JSON API typedefs - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Clean up new JSON API typedefs
Date
Msg-id E1V0UjT-0008Gq-Re@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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(-)


pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Clean up new JSON API typedefs
Next
From: Tom Lane
Date:
Subject: pgsql: Fix error handling in PLy_spi_execute_fetch_result().