STRICT SQL functions never inline - Mailing list pgsql-performance

From Josh Berkus
Subject STRICT SQL functions never inline
Date
Msg-id 4EB9BB3F.6090504@agliodbs.com
Whole thread Raw
Responses Re: STRICT SQL functions never inline  (Andres Freund <andres@anarazel.de>)
Re: STRICT SQL functions never inline  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-performance
Folks,

After having some production issues, I did some testing and it seems
that any SQL function declared STRICT will never inline.  As a result,
it won't work with either indexes (on the underlying predicate) or
partitioning.

This seems like a horrible gotcha for our users.  At the very least I'd
like to document it (in CREATE FUNCTION, presumably), but it would be
better to fix it.  Thoughts?

--
Josh Berkus
PostgreSQL Experts Inc.
http://pgexperts.com

pgsql-performance by date:

Previous
From: "Albe Laurenz"
Date:
Subject: Re: SSL encryption makes bytea transfer slow
Next
From: Andres Freund
Date:
Subject: Re: STRICT SQL functions never inline