summaryrefslogtreecommitdiff
path: root/src/include/access
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/access')
-rw-r--r--src/include/access/hash.h2
-rw-r--r--src/include/access/heaptoast.h4
-rw-r--r--src/include/access/spgist_private.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/include/access/hash.h b/src/include/access/hash.h
index 2374d5cf049..839c343122c 100644
--- a/src/include/access/hash.h
+++ b/src/include/access/hash.h
@@ -468,7 +468,7 @@ extern uint32 _hash_get_totalbuckets(uint32 splitpoint_phase);
extern void _hash_checkpage(Relation rel, Buffer buf, int flags);
extern uint32 _hash_get_indextuple_hashkey(IndexTuple itup);
extern bool _hash_convert_tuple(Relation index,
- Datum *user_values, bool *user_isnull,
+ const Datum *user_values, const bool *user_isnull,
Datum *index_values, bool *index_isnull);
extern OffsetNumber _hash_binsearch(Page page, uint32 hash_value);
extern OffsetNumber _hash_binsearch_last(Page page, uint32 hash_value);
diff --git a/src/include/access/heaptoast.h b/src/include/access/heaptoast.h
index 6385a27caf8..1c68f8107d6 100644
--- a/src/include/access/heaptoast.h
+++ b/src/include/access/heaptoast.h
@@ -133,8 +133,8 @@ extern Datum toast_flatten_tuple_to_datum(HeapTupleHeader tup,
* ----------
*/
extern HeapTuple toast_build_flattened_tuple(TupleDesc tupleDesc,
- Datum *values,
- bool *isnull);
+ const Datum *values,
+ const bool *isnull);
/* ----------
* heap_fetch_toast_slice
diff --git a/src/include/access/spgist_private.h b/src/include/access/spgist_private.h
index 797ef62eb38..083af5962a8 100644
--- a/src/include/access/spgist_private.h
+++ b/src/include/access/spgist_private.h
@@ -541,7 +541,7 @@ extern void spgPageIndexMultiDelete(SpGistState *state, Page page,
int firststate, int reststate,
BlockNumber blkno, OffsetNumber offnum);
extern bool spgdoinsert(Relation index, SpGistState *state,
- const ItemPointerData *heapPtr, Datum *datums, bool *isnulls);
+ const ItemPointerData *heapPtr, const Datum *datums, const bool *isnulls);
/* spgproc.c */
extern double *spg_key_orderbys_distances(Datum key, bool isLeaf,