From: | Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Make nullSemAction const, add 'const' decorators to related func |
Date: | 2024-08-06 20:11:45 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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/[email protected]
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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | noreply | 2024-08-06 21:16:26 | pgsql: Tag refs/tags/REL_13_16 was created |
Previous Message | Jeff Davis | 2024-08-06 19:25:26 | pgsql: selfuncs.c: use pg_strxfrm() instead of strxfrm(). |