diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-10-10 07:50:15 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-10-10 07:50:43 +0200 |
commit | 1d91d24d9a831be0bb90ec71934f735c52456c57 (patch) | |
tree | 47c9ba51a493bb78cf6695fdf815ea15d2ca24f5 /src/include/executor/executor.h | |
parent | fc4089f3c65a5f1b413a3299ba02b66a8e5e37d0 (diff) | |
download | postgresql-1d91d24d9a831be0bb90ec71934f735c52456c57.tar.gz postgresql-1d91d24d9a831be0bb90ec71934f735c52456c57.zip |
Add const to values and nulls arguments
This excludes any changes that would change the external AM APIs.
Reviewed-by: Aleksander Alekseev <aleksander@timescale.com>
Discussion: https://www.postgresql.org/message-id/flat/14c31f4a-0347-0805-dce8-93a9072c05a5%40eisentraut.org
Diffstat (limited to 'src/include/executor/executor.h')
-rw-r--r-- | src/include/executor/executor.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/executor/executor.h b/src/include/executor/executor.h index aeebe0e0ff9..e1eefb400b0 100644 --- a/src/include/executor/executor.h +++ b/src/include/executor/executor.h @@ -509,7 +509,7 @@ typedef struct TupOutputState extern TupOutputState *begin_tup_output_tupdesc(DestReceiver *dest, TupleDesc tupdesc, const TupleTableSlotOps *tts_ops); -extern void do_tup_output(TupOutputState *tstate, Datum *values, bool *isnull); +extern void do_tup_output(TupOutputState *tstate, const Datum *values, const bool *isnull); extern void do_text_output_multiline(TupOutputState *tstate, const char *txt); extern void end_tup_output(TupOutputState *tstate); @@ -639,7 +639,7 @@ extern bool ExecCheckIndexConstraints(ResultRelInfo *resultRelInfo, extern void check_exclusion_constraint(Relation heap, Relation index, IndexInfo *indexInfo, ItemPointer tupleid, - Datum *values, bool *isnull, + const Datum *values, const bool *isnull, EState *estate, bool newIndex); /* |