Compiling Functions in Postgresql

From: "Jasbinder Singh Bali" <jsbali(at)gmail(dot)com>
To: "Novice Postgresql-list" <pgsql-novice(at)postgresql(dot)org>
Subject: Compiling Functions in Postgresql
Date: 2007-10-16 06:17:59
Message-ID: a47902760710152317n52a848fdya06f0d7c8bd339f6@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi,

I know that in Sql Server, Stored Procedures are compiled only once and then
the same execution plan is utilized. This definitely gives a tremendous
performance boost
when Stored Procedures are called repeatedly.

Now, in Postgresql, how are the User Defined Functions compiled. Is it just
once or every single time a function is called.
I used Function instead of Stored Procedure while talking about Postgresql
because Stored Procedures in Postgresql are Wrapped around in
a User Defined Function.

Please let me know.

Thanks,
Jas

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Oliver Elphick 2007-10-16 17:14:49 Re: Compiling Functions in Postgresql
Previous Message Brett Maton 2007-10-15 09:52:26 Re: C Function returning a ROW