Compiling Functions in Postgresql - Mailing list pgsql-novice

From Jasbinder Singh Bali
Subject Compiling Functions in Postgresql
Date
Msg-id a47902760710152317n52a848fdya06f0d7c8bd339f6@mail.gmail.com
Whole thread Raw
Responses Re: Compiling Functions in Postgresql  (Oliver Elphick <olly@lfix.co.uk>)
List 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

pgsql-novice by date:

Previous
From: "Brett Maton"
Date:
Subject: Re: C Function returning a ROW
Next
From: Oliver Elphick
Date:
Subject: Re: Compiling Functions in Postgresql