Re: Re: Optimze usage of immutable functions as relation

David Steele <david@pgmasters.net>

From: David Steele <david@pgmasters.net>
To: Alexander Kuzmenkov <a.kuzmenkov@postgrespro.ru>, Andres Freund <andres@anarazel.de>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, Antonin Houska <ah@cybertec.at>, Aleksandr Parfenov <asp437@gmail.com>, a.bykov@postgrespro.ru, pgsql-hackers@lists.postgresql.org
Date: 2019-03-05T17:22:12Z
Lists: pgsql-hackers
On 2/28/19 4:27 PM, Alexander Kuzmenkov wrote:
> On 2/18/19 03:20, Tom Lane wrote:
>> The dummy-relation stuff I referred to has now been merged, so there's
>> really no good reason not to revise the patch along that line.
> 
> 
> I'll try to post the revised implementation soon.

I'll close this on March 8th if there is no new patch.

Regards,
-- 
-David
david@pgmasters.net


Commits

  1. Prevent bogus pullup of constant-valued functions returning composite.

  2. Allow functions-in-FROM to be pulled up if they reduce to constants.