On Oct 31, 2013, at 2:57 PM, Kevin Grittner <kgri...@ymail.com> wrote: > Joe Love <j...@primoweb.com> wrote: > >> In postgres 9.2 I have a function that is relatively expensive. > > What did you specify in the COST clause on the CREATE FUNCTION > statement?
Should that really matter in this case? ISTM we should always handle LIMIT before moving on to the SELECT clause…?