Re: Optimize constant MinMax expressions - Mailing list pgsql-hackers

From Vik Fearing
Subject Re: Optimize constant MinMax expressions
Date
Msg-id f35d25e0-80d0-58c9-a875-7f18420f18fe@2ndquadrant.com
Whole thread Raw
In response to Re: Optimize constant MinMax expressions  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
On 30/12/2018 19:44, Tom Lane wrote:
> Vik Fearing <vik.fearing@2ndquadrant.com> writes:
>> On 30/12/2018 00:36, Tom Lane wrote:
>>> Can we assume that the underlying datatype comparison function is
>>> immutable?  I guess so, since we assume that in nearby code such as
>>> contain_mutable_functions_walker, but I don't think it should be done
>>> without at least a comment.
> 
>> Adding a comment is easy enough.  How is the attached?
> 
> Pushed with a bit of wordsmithing on the comment.

Thanks!  I've updated the commitfest entry to reflect that.
-- 
Vik Fearing                                          +33 6 46 75 15 36
http://2ndQuadrant.fr     PostgreSQL : Expertise, Formation et Support


pgsql-hackers by date:

Previous
From: Petr Jelinek
Date:
Subject: Moving slot restart_lsn/catalog_xmin more eagerly from SQL functions
Next
From: Petr Jelinek
Date:
Subject: Re: Moving slot restart_lsn/catalog_xmin more eagerly from SQLfunctions