summaryrefslogtreecommitdiff
path: root/src/include/bootstrap/bootstrap.h
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2023-08-23 06:14:11 +0200
committerPeter Eisentraut <peter@eisentraut.org>2023-08-23 06:39:39 +0200
commit11af63fb48d278b86aa948a5b57f136ef03c2bb7 (patch)
tree78f89e389fef01388c7af690f7106a52d01e2d5b /src/include/bootstrap/bootstrap.h
parentf4b54e1ed9853ab9aff524494866823f951b1e7f (diff)
Add const decorations
in index.c and indexcmds.c and some adjacent places. This especially makes it easier to understand for some complicated function signatures which are the input and the output arguments. Discussion: https://www.postgresql.org/message-id/flat/5ed89c69-f4e6-5dab-4003-63bde7460e5e%40eisentraut.org
Diffstat (limited to 'src/include/bootstrap/bootstrap.h')
-rw-r--r--src/include/bootstrap/bootstrap.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/bootstrap/bootstrap.h b/src/include/bootstrap/bootstrap.h
index 2c28a52ce71..e1cb73c5f2e 100644
--- a/src/include/bootstrap/bootstrap.h
+++ b/src/include/bootstrap/bootstrap.h
@@ -42,7 +42,7 @@ extern void InsertOneTuple(void);
extern void InsertOneValue(char *value, int i);
extern void InsertOneNull(int i);
-extern void index_register(Oid heap, Oid ind, IndexInfo *indexInfo);
+extern void index_register(Oid heap, Oid ind, const IndexInfo *indexInfo);
extern void build_indices(void);
extern void boot_get_type_io_data(Oid typid,