Re: Tuning queries inside a function - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: Tuning queries inside a function
Date
Msg-id 20050429183830.GC28533@dcc.uchile.cl
Whole thread Raw
In response to Tuning queries inside a function  (Mike Nolan <nolan@gw.tssi.com>)
Responses Re: Tuning queries inside a function
Re: Tuning queries inside a function
List pgsql-general
On Fri, Apr 29, 2005 at 12:32:26PM -0500, Mike Nolan wrote:

> I need to find out if the function can be tuned further, but 'explain'
> doesn't really tell much about what's happening inside the function.
>
> Any ideas on how to tune a user function?

Maybe you could return a refcursor pointing to the EXPLAIN ANALYZE of
the query inside the function.

--
Alvaro Herrera (<alvherre[@]dcc.uchile.cl>)
"God is real, unless declared as int"

pgsql-general by date:

Previous
From: Shelby Cain
Date:
Subject: Re: ip connection on local p2p network
Next
From: Tim
Date:
Subject: Re: out of memory for query result