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: | [email protected] |
Views: | Whole Thread | Raw Message | 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
------
master
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(-)
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 |