Re: Optimze usage of immutable functions as relation

From: Anastasia Lubennikova <a(dot)lubennikova(at)postgrespro(dot)ru>
To: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Optimze usage of immutable functions as relation
Date: 2019-07-26 14:56:05
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-hackers

23.07.2019 14:36, Anastasia Lubennikova :
> 08.07.2019 4:18, Thomas Munro:
>> The July Commitfest is here.  Could we please have a rebase of this
>> patch?
> Updated patch is in attachments.
> I've only resolved one small cosmetic merge conflict.
> Later this week I'm going to send a more thoughtful review.
Well, I looked through the patch and didn't find any issues, so I'll
mark this ready for committer.

Last implementation differs from the original one and is based on
suggestion from this message:

It does eval_const_expressions() earlier and pulls up only Const functions.

I also added a few more tests and comments.
New version is in attachments.

Anastasia Lubennikova
Postgres Professional:
The Russian Postgres Company

Attachment Content-Type Size
v7-0001-Simplify-immutable-RTE_FUNCTION-to-RTE_RESULT.patch text/x-patch 13.4 KB

In response to


Browse pgsql-hackers by date

  From Date Subject
Next Message Masahiko Sawada 2019-07-26 15:27:58 Re: [Proposal] Table-level Transparent Data Encryption (TDE) and Key Management Service (KMS)
Previous Message Andrew Dunstan 2019-07-26 14:43:07 Re: Support for jsonpath .datetime() method