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