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:
@ -914,7 +914,7 @@ AllocateAttribute(void)
|
||||
void
|
||||
index_register(Oid heap,
|
||||
Oid ind,
|
||||
IndexInfo *indexInfo)
|
||||
const IndexInfo *indexInfo)
|
||||
{
|
||||
IndexList *newind;
|
||||
MemoryContext oldcxt;
|
||||
|
Reference in New Issue
Block a user