Re: PREPARE / EXECUTE

From: Hans-Jürgen Schönig <hs(at)cybertec(dot)at>
To: Zeugswetter Andreas SB SD <ZeugswetterA(at)spardat(dot)at>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: PREPARE / EXECUTE
Date: 2002-10-23 19:09:45
Message-ID: 3DB6F3F9.8060003@cybertec.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

>
>
>
>The standard approach to such a scenario would imho be to write stored procedures
>for the complex queries (e.g. plpgsql) and use that from the client.
>Maybe even eliminate a few ping pongs between client and server.
>
>Andreas
>
>

Does it reduce the time taken by the planner?
Are server side SQL functions optimized at runtime or at "create
function" time?

If the function is optimized at runtime it is not a gain.

Hans

--
*Cybertec Geschwinde u Schoenig*
Ludo-Hartmannplatz 1/14, A-1160 Vienna, Austria
Tel: +43/1/913 68 09; +43/664/233 90 75
www.postgresql.at <http://www.postgresql.at>, cluster.postgresql.at
<http://cluster.postgresql.at>, www.cybertec.at
<http://www.cybertec.at>, kernel.cybertec.at <http://kernel.cybertec.at>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2002-10-23 21:35:49 Re: PREPARE / EXECUTE
Previous Message Zeugswetter Andreas SB SD 2002-10-23 18:58:13 Re: PREPARE / EXECUTE