Remove IndexInfo.ii_OpclassOptions field
Peter Eisentraut <peter@eisentraut.org>
Remove IndexInfo.ii_OpclassOptions field It is unnecessary to include this field in IndexInfo. It is only used by DDL code, not during execution. It is really only used to pass local information around between functions in index.c and indexcmds.c, for which it is clearer to use local variables, like in similar cases. Discussion: https://www.postgresql.org/message-id/flat/f84640e3-00d3-5abd-3f41-e6a19d33c40b@eisentraut.org
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/catalog/index.c | modified | +15 −18 |
| src/backend/catalog/toasting.c | modified | +1 −2 |
| src/backend/commands/indexcmds.c | modified | +17 −13 |
| src/backend/nodes/makefuncs.c | modified | +0 −3 |
| src/include/catalog/index.h | modified | +1 −0 |
| src/include/nodes/execnodes.h | modified | +0 −1 |
Discussion
- Remove IndexInfo.ii_OpclassOptions field 5 messages · 2023-08-24 → 2023-10-03