Re: Why not cache stable functions? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Why not cache stable functions?
Date
Msg-id 4769.1113584064@sss.pgh.pa.us
Whole thread Raw
In response to Why not cache stable functions?  (falcon <falcon@intercable.ru>)
Responses Re: Why not cache stable functions?
List pgsql-hackers
falcon <falcon@intercable.ru> writes:
> I think It would be useful to cache return values for stable
> and immutable functions. Now thay are really called everytime.

In most circumstances the overhead of searching such a cache would swamp
any benefit we might get from it.
        regards, tom lane


pgsql-hackers by date:

Previous
From: "Jim C. Nasby"
Date:
Subject: Re: Constant time insertion into highly non-unique
Next
From: Alvaro Herrera
Date:
Subject: Re: Why not cache stable functions?