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:38:31 +0000 (06:38 -0400)
commitff41a5de0995f01a98b6fbc3a0c774b9a53e609a
tree1582de798bab966f79d3717ee2111d53c6afda7b
parent6737aa72ba7621d4db8e09210c65eecafc42b616
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