pgsql: Clean up new JSON API typedefs

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема pgsql: Clean up new JSON API typedefs
Дата
Msg-id E1V0UjT-0008Gq-Re@gemulon.postgresql.org
обсуждение исходный текст
Список 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

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

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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: pgsql: Clean up new JSON API typedefs
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix error handling in PLy_spi_execute_fetch_result().