Remove IndexInfo.ii_OpclassOptions field - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Remove IndexInfo.ii_OpclassOptions field
Date
Msg-id f84640e3-00d3-5abd-3f41-e6a19d33c40b@eisentraut.org
Whole thread Raw
Responses Re: Remove IndexInfo.ii_OpclassOptions field
List pgsql-hackers
During some refactoring I noticed that the field 
IndexInfo.ii_OpclassOptions is kind of useless.  The IndexInfo struct is 
notionally an executor support node, but this field is not used in the 
executor or by the index AM code.  It is really just used in DDL code in 
index.c and indexcmds.c to pass information around locally.  For that, 
it would be clearer to just use local variables, like for other similar 
cases.  With that change, we can also remove 
RelationGetIndexRawAttOptions(), which only had one caller left, for 
which it was overkill.
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: meson uses stale pg_config_paths.h left over from make
Next
From: Alvaro Herrera
Date:
Subject: Re: subscription/015_stream sometimes breaks