From: Heikki Linnakangas <heikki.linnakangas@iki.fi>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Make nullSemAction const, add 'const' decorators to related func
Date: Tue, 06 Aug 2024 20:11:45 +0000
Message-ID: <E1sbQX3-00315L-8X@gemulon.postgresql.org> (raw)
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(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-committers@postgresql.org
Cc: heikki.linnakangas@iki.fi, pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Make nullSemAction const, add 'const' decorators to related func
In-Reply-To: <E1sbQX3-00315L-8X@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox