Re: WIP Patch: Precalculate stable functions, infrastructure v1 - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: WIP Patch: Precalculate stable functions, infrastructure v1
Date
Msg-id CAEepm=0o-E7KAuUoC3nuTRAOtNw334aKX_rJAMfXZj0VyUJz1A@mail.gmail.com
Whole thread Raw
In response to Re: WIP Patch: Precalculate stable functions, infrastructure v1  (Marina Polyakova <m.polyakova@postgrespro.ru>)
Responses Re: WIP Patch: Precalculate stable functions, infrastructure v1  (Marina Polyakova <m.polyakova@postgrespro.ru>)
List pgsql-hackers
On Thu, Feb 1, 2018 at 6:01 PM, Marina Polyakova
<m.polyakova@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


pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: ALTER TABLE ADD COLUMN fast default
Next
From: Andrew Dunstan
Date:
Subject: Re: ALTER TABLE ADD COLUMN fast default