Add const decorations
authorPeter Eisentraut <peter@eisentraut.org>
Wed, 23 Aug 2023 04:14:11 +0000 (06:14 +0200)
committerPeter Eisentraut <peter@eisentraut.org>
Wed, 23 Aug 2023 04:39:39 +0000 (06:39 +0200)
commit11af63fb48d278b86aa948a5b57f136ef03c2bb7
tree78f89e389fef01388c7af690f7106a52d01e2d5b
parentf4b54e1ed9853ab9aff524494866823f951b1e7f
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
src/backend/bootstrap/bootstrap.c
src/backend/catalog/heap.c
src/backend/catalog/index.c
src/backend/catalog/namespace.c
src/backend/commands/indexcmds.c
src/include/bootstrap/bootstrap.h
src/include/catalog/heap.h
src/include/catalog/index.h
src/include/catalog/namespace.h
src/include/commands/defrem.h