ST_MinimumDiameter is a deterministic function, the extend DeterministicScalarFunction.