1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-26 01:22:12 +03:00

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
This commit is contained in:
Peter Eisentraut
2023-08-23 06:14:11 +02:00
parent f4b54e1ed9
commit 11af63fb48
10 changed files with 94 additions and 94 deletions

View File

@ -914,7 +914,7 @@ AllocateAttribute(void)
void
index_register(Oid heap,
Oid ind,
IndexInfo *indexInfo)
const IndexInfo *indexInfo)
{
IndexList *newind;
MemoryContext oldcxt;