pgsql: Make nullSemAction const, add 'const' decorators to related func

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Make nullSemAction const, add 'const' decorators to related func
Дата
Msg-id E1sbQX3-00315L-8X@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Make nullSemAction const, add 'const' decorators to related functions

To make it more clear that these should never be modified.

Reviewed-by: Andres Freund
Discussion: https://www.postgresql.org/message-id/54c29fb0-edf2-48ea-9814-44e918bbd6e8@iki.fi

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/85829c973cb33592dbc0b0f3aaf9132f5dea6953

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c                  |  2 +-
src/common/jsonapi.c                               | 26 +++++++++++-----------
src/include/common/jsonapi.h                       |  6 ++---
src/include/utils/jsonfuncs.h                      |  2 +-
.../test_json_parser_incremental.c                 |  2 +-
5 files changed, 19 insertions(+), 19 deletions(-)


В списке pgsql-committers по дате отправления: