[postgis-devel] Estimated Extent ... Immutable?

Paul Ramsey pramsey at cleverelephant.ca
Fri Mar 8 13:52:20 PST 2019



> On Mar 8, 2019, at 10:18 AM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
> 
> 
> 
>> On Mar 8, 2019, at 10:17 AM, Paul Ramsey <pramsey at cleverelephant.ca> wrote:
>> 
>> This seems wrong to me…
>> 
>> CREATE OR REPLACE FUNCTION ST_EstimatedExtent(text,text,text,boolean) RETURNS box2d AS
>> 	'MODULE_PATHNAME', 'gserialized_estimated_extent'
>> 	LANGUAGE 'c' IMMUTABLE STRICT SECURITY DEFINER;
>> 
>> The only reason I can imagine why it would be so is for some third-party reason… why haven’t we declared this as volatile?
> 
> Er, stable. https://www.postgresql.org/docs/11/xfunc-volatility.html

I ended up changing these to STABLE.


More information about the postgis-devel mailing list