From: Josh Berkus <josh@agliodbs.com>
To: pgsql-performance@postgresql.org
Subject: STRICT SQL functions never inline
Date: Tue, 08 Nov 2011 15:29:03 -0800
Message-ID: <4EB9BB3F.6090504@agliodbs.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: josh@agliodbs.com
Subject: Re: STRICT SQL functions never inline
In-Reply-To: <4EB9BB3F.6090504@agliodbs.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox