Re: Functionscan estimates - Mailing list pgsql-performance

From PFC
Subject Re: Functionscan estimates
Msg-id op.soyp6wpeth1vuj@localhost
Whole thread Raw
In response to Re: Functionscan estimates  (Tom Lane)
List pgsql-performance
> But with all due respect to Joe, I think the reason that stuff got
> trimmed is that it didn't work very well.  In most cases it's
> *hard* to write an estimator for a SRF.  Let's see you produce
> one for dblink() for instance ...

    Good one...
    Well in some cases it'll be impossible, but suppose I have a function
get_id_for_something() which just grabs an ID using dblink, then I know it
returns one row, and pg would be interested in that information too !

pgsql-performance by date:

From: PFC
Subject: Re: Functionscan estimates
From: "Jim C. Nasby"
Subject: Re: Any way to speed this up?