]> granicus.if.org Git - postgresql/commit
Clean up new JSON API typedefs
authorPeter Eisentraut <peter_e@gmx.net>
Sat, 20 Jul 2013 10:38:31 +0000 (06:38 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Sat, 20 Jul 2013 10:41:46 +0000 (06:41 -0400)
commitef8321a57d38c00592614a6d8f0872a721d301c3
tree4bf10ae54659d179ccfa03bef10fd2641473d2b2
parent0b3859f3b607b375cfabb0a95bb4c58a4c1b37ee
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.
src/backend/utils/adt/json.c
src/backend/utils/adt/jsonfuncs.c
src/include/utils/jsonapi.h