On Thu, 9 Oct 2003, Gaetano Mendola wrote:
Andriy Tkachuk wrote:
On Wed, 8 Oct 2003, Tom Lane wrote:
Andriy Tkachuk [EMAIL PROTECTED] writes:
At second. calc_total() is immutable function:
but it seems that it's not cached in one session:
It's not supposed to be.
but it's
On Wed, 8 Oct 2003, Tom Lane wrote:
Andriy Tkachuk [EMAIL PROTECTED] writes:
At second. calc_total() is immutable function:
but it seems that it's not cached in one session:
It's not supposed to be.
but it's written id doc:
IMMUTABLE indicates that the function always
Andriy Tkachuk [EMAIL PROTECTED] writes:
At second. calc_total() is immutable function:
but it seems that it's not cached in one session:
It's not supposed to be.
The reason the runtime is small in your example is that the planner
executes the function call while preparing the plan, and this