From: | Gordon Clarke <gordonc(at)adf-serials(dot)com> |
---|---|
To: | Peter Eisentraut <peter_e(at)gmx(dot)net> |
Cc: | pgsql-sql(at)postgresql(dot)org |
Subject: | Re: Functions in Postgres |
Date: | 2002-04-11 20:59:53 |
Message-ID: | Pine.LNX.4.21.0204120656530.30360-100000@localhost.localdomain |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
On Wed, 10 Apr 2002, Peter Eisentraut wrote:
> Each language handler is free to interpret the source text in its own way.
> This has nothing to do with trustedness (is SQL not trusted?). Neither
> PL/pgSQL nor PL/Tcl involve a compilation step, although PL/pgSQL does
> some optimizations internally that could be called compilation.
>
> Is this question just out of random interest, or are you really asking
> something like are functions fast?
I was asking to see if there was any speed penalty with coding a fn in SQL
as opposed to PL/pgsql. It appears that there is and from what you've said
PL/pgsql is slightly faster than PL/TCL and probably PL/Perl. Am I correct
in drawing that conclusion?
Thanks for your help.
--
Cheers...Gordon
-------------+------------------------------------------------------------
ADF Aircraft | Cataloguing the serial numbers of Australian Defence Force
Serial | aircraft for all the three series.
Numbers | http://www.adf-serials.com
-------------+------------------------------------------------------------
From | Date | Subject | |
---|---|---|---|
Next Message | Eric Carpenter | 2002-04-11 22:16:37 | Inserting values into numeric fields |
Previous Message | Richard Ellerbrock | 2002-04-11 15:48:02 | Re: REPOST: Trouble with SQL conversion |