Function that returns index information

ST_GetIndexParms takes either the identifier for a spatial index or for a spatial column as an input parameter and returns the parameters used to define the index or the index on the spatial column.

If an additional parameter number is specified, only the parameter identified by the number is returned.