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-0008Gs-T8@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
------
REL9_3_STABLE

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

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: Alvaro Herrera
Date:
Subject: Re: pgsql: Fix regex match failures for backrefs combined with non-greedy q
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Clean up new JSON API typedefs