WIP Patch: Precalculate stable functions, infrastructure v1

From: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
To: pgsql-hackers(at)postgresql(dot)org
Subject: WIP Patch: Precalculate stable functions, infrastructure v1
Date: 2017-05-03 15:15:20
Message-ID: da87bb6a014e029176a04f6e50033cfb@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hello everyone again!

This is the continuation of my previous patch on the same topic; here
there are changes made thanks to Tom Lane comments (see thread here
[1]). To not send big patch I have split it (that's why version starts
with the first again) and here I send infrastructure patch which
includes:
- creation of CachedExpr node
- usual node functions for it
- mutator to replace nonovolatile functions' and operators' expressions
by appropriate cached expressions.

Any suggestions are welcome!

[1]
https://www.postgresql.org/message-id/flat/98c77534fa51aa4bf84a5b39931c42ea%40postgrespro(dot)ru#98c77534fa51aa4bf84a5b39931c42ea(at)postgrespro(dot)ru

--
Marina Polyakova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

Attachment Content-Type Size
Precalculate-stable-functions-infrastructure-v1.patch text/x-diff 18.2 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2017-05-03 15:18:01 Re: WITH clause in CREATE STATISTICS
Previous Message Petr Jelinek 2017-05-03 14:41:07 Re: logical replication syntax (was DROP SUBSCRIPTION, query cancellations and slot handling)