Re: explain analyze on a function - Mailing list pgsql-general

From Alvaro Herrera
Subject Re: explain analyze on a function
Date
Msg-id 20070614184356.GA2581@alvh.no-ip.org
Whole thread Raw
In response to Re: explain analyze on a function  (Rikard Pavelic <rikard.pavelic@zg.htnet.hr>)
Responses Re: explain analyze on a function  (Rikard Pavelic <rikard.pavelic@zg.htnet.hr>)
List pgsql-general
Rikard Pavelic wrote:
> Alvaro Herrera wrote:
> > Try doing a PREPARE and then EXPLAIN EXECUTE, like
> >
> > alvherre=# prepare foo as select generate_series(1, $1);

> Hm, no luck ;(
>
> prepare f1 as select * from
> raspored.dohvati_statistiku_rada_u_smjenama_radnika($1, $2);
> explain analyze execute f1(current_date, 4);

I meant the queries inside the function.

--
Alvaro Herrera                                http://www.CommandPrompt.com/
The PostgreSQL Company - Command Prompt, Inc.

pgsql-general by date:

Previous
From: "hubert depesz lubaczewski"
Date:
Subject: Re: strange change (and error) in 8.3 ?
Next
From: Rikard Pavelic
Date:
Subject: Re: explain analyze on a function