pgsql: Clean up new JSON API typedefs

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Clean up new JSON API typedefs
Date: 2013-07-20 10:49:47
Message-ID: E1V0UjT-0008Gs-T8@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-07-20 16:45:14 pgsql: Fix error handling in PLy_spi_execute_fetch_result().
Previous Message Alvaro Herrera 2013-07-20 04:41:49 Re: pgsql: Fix regex match failures for backrefs combined with non-greedy q