From: JanWieck@t-online.de
To: Saltsgaver, Scott <scottsa@aiinet.com>
Cc: Pgsql-Sql \\(E-mail\\) <pgsql-sql@postgresql.org>
Subject: Re: Which procedural language to use for functions.
Date: Sat, 1 Jul 2000 11:03:43 +0200 (MEST)
Message-ID: <200007010903.LAA14484@hot.jw.home> (raw)
In-Reply-To: <7283DE19D141D111AD0E00A0C95B195503A59CFD@mail2.aiinet.com>
Saltsgaver, Scott wrote:
> Which procedural language is best for writing PostgreSQL functions:
> 'PL/pgSQL', 'PL/perl', or 'PL/Tcl'?
>
> I know that I can't do table creates in 'PL/pgSQL'?
>
> Is there an obvious choice as far speed and size?
PL/Tcl has the advantage that it can do the table creates you
want. OTOH if your frontend app is written in Perl, it's not
that likely that one of the app programmers easily
understands a function.
I have no benchmarking information between the procedural
languages. If that's really an issue, write your functions
and triggers in C.
Jan
--
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#================================================== JanWieck@Yahoo.com #
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: JanWieck@t-online.de, scottsa@aiinet.com
Subject: Re: Which procedural language to use for functions.
In-Reply-To: <200007010903.LAA14484@hot.jw.home>
References: <7283DE19D141D111AD0E00A0C95B195503A59CFD@mail2.aiinet.com> <200007010903.LAA14484@hot.jw.home>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox