diff options
author | Peter Eisentraut <peter@eisentraut.org> | 2023-08-23 06:14:11 +0200 |
---|---|---|
committer | Peter Eisentraut <peter@eisentraut.org> | 2023-08-23 06:39:39 +0200 |
commit | 11af63fb48d278b86aa948a5b57f136ef03c2bb7 (patch) | |
tree | 78f89e389fef01388c7af690f7106a52d01e2d5b /src/backend/bootstrap | |
parent | f4b54e1ed9853ab9aff524494866823f951b1e7f (diff) | |
download | postgresql-11af63fb48d278b86aa948a5b57f136ef03c2bb7.tar.gz postgresql-11af63fb48d278b86aa948a5b57f136ef03c2bb7.zip |
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/backend/bootstrap')
-rw-r--r-- | src/backend/bootstrap/bootstrap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/bootstrap/bootstrap.c b/src/backend/bootstrap/bootstrap.c index 49e956b2c57..4cc2efa95c4 100644 --- a/src/backend/bootstrap/bootstrap.c +++ b/src/backend/bootstrap/bootstrap.c @@ -914,7 +914,7 @@ AllocateAttribute(void) void index_register(Oid heap, Oid ind, - IndexInfo *indexInfo) + const IndexInfo *indexInfo) { IndexList *newind; MemoryContext oldcxt; |