On Thu, Feb 1, 2018 at 6:01 PM, Marina Polyakova <m.polyak...@postgrespro.ru> wrote: > This is the 8-th version of the patch for the precalculation of stable or > immutable functions, stable or immutable operators and other nonvolatile > expressions. This is a try to fix the most problems (I'm sorry, it took some > time..) that Tom Lane and Andres Freund mentioned in [1], [2] and [3]. It is > based on the top of master, and on my computer make check-world passes. And > I'll continue work on it.
Hi Marina, FYI I saw a repeatable crash in the contrib regression tests when running make check-world with this patch applied. test hstore_plperl ... FAILED (test process exited with exit code 2) test hstore_plperlu ... FAILED (test process exited with exit code 2) test create_transform ... FAILED I'm not sure why it passes for you but fails here, but we can see from the backtrace[1] that ExecInitExprRec is receiving a null node pointer on this Ubuntu Trusty GCC 4.8 amd64 system. [1] https://travis-ci.org/postgresql-cfbot/postgresql/builds/337255374 -- Thomas Munro http://www.enterprisedb.com