Re: SQL Function Performance - Mailing list pgsql-performance

From Tom Lane
Subject Re: SQL Function Performance
Date
Msg-id 7000.1139878627@sss.pgh.pa.us
Whole thread Raw
In response to Re: SQL Function Performance  ("Adnan DURSUN" <a_dursun@hotmail.com>)
Responses Re: SQL Function Performance  (Michael Fuhr <mike@fuhr.org>)
List pgsql-performance
"Adnan DURSUN" <a_dursun@hotmail.com> writes:
>>>> EXPLAIN ANALYZE EXECUTE stmt (...);

>    Here is the EXPLAIN ANALYZE output for prepared statement :

This is exactly the same as the other plan --- you did not parameterize
the query.  To see what's going on, you need to insert PREPARE
parameters in the places where the function uses plpgsql variables.

            regards, tom lane

pgsql-performance by date:

Previous
From: "Adnan DURSUN"
Date:
Subject: Re: SQL Function Performance
Next
From: Michael Fuhr
Date:
Subject: Re: SQL Function Performance