git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 0b06bf9) | patch
jsonapi: Use const char *
2024年6月21日 05:50:02 +0000 (07:50 +0200)
2024年6月21日 05:53:30 +0000 (07:53 +0200)
commit 15cd9a3881b030a1a4bddc809f038f86ec27e66d
jsonapi: Use const char *

Apply const qualifiers to char * arguments and fields throughout the
jsonapi. This allows the top-level APIs such as
pg_parse_json_incremental() to declare their input argument as const.
It also reduces the number of unconstify() calls.

Reviewed-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://www.postgresql.org/message-id/flat/f732b014-f614-4600-a437-dba5a2c3738b%40eisentraut.org
src/backend/utils/adt/jsonfuncs.c diff | blob | blame | history
src/common/jsonapi.c diff | blob | blame | history
src/include/common/jsonapi.h diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /