On 4/11/06, Simon Dale <sdale(at)rm(dot)com> wrote:
>
>
>
> Hi,
>
>
>
> I'm trying to evaluate PostgreSQL as a database that will have to store a
> high volume of data and access that data frequently. One of the features on
> our wish list is to be able to use stored procedures to access the data and
> I was wondering if it is usual for stored procedures to perform slower on
> PostgreSQL than raw SQL?
No.
RETURN NEXT keeps accumulating the data before returning.
I am not sure if any optimisations have been done to that effect.
In general functions are *NOT* slower than RAW SQL.
Regds
mallah.