From: | "Merlin Moncure" <mmoncure(at)gmail(dot)com> |
---|---|
To: | harding(dot)ian(at)gmail(dot)com |
Cc: | "Christopher Browne" <cbbrowne(at)acm(dot)org>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: Best Procedural Language? |
Date: | 2006-08-02 03:37:05 |
Message-ID: | b42b73150608012037v2fec4c52seaea10f8cd60a673@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 8/1/06, Ian Harding <harding(dot)ian(at)gmail(dot)com> wrote:
> On 8/1/06, Christopher Browne <cbbrowne(at)acm(dot)org> wrote:
> > Martha Stewart called it a Good Thing when "Carlo Stonebanks" <cstonebanks(at)nissenfasteners(dot)com> wrote:
> > > I am interested in finding out a "non-religious" answer to which
> > > procedural language has the richest and most robust implementation
> > > for Postgres. C is at the bottom of my list because of how much
> > > damage runaway code can cause. I also would like a solution which is
> > > platorm-independent; we develop on Windows but may deploy on Linux.
> >
>
>
> >
> > - Doing funky string munging using the SQL functions available in
> > pl/pgsql is likely to be painful;
> >
> > - Doing a lot of DB manipulation in pl/Perl or pl/Tcl or such
> > requires having an extra level of function manipulations that
> > won't be as natural as straight pl/pgsql.
>
> Another important distinguishing characteristic is whether it supports
> set returning functions. I think only plpgsql does right now.
and C, and SQL ;)
in fact, sql functions make the best SRF because they are fast,
basically as fast as a query, but also can be called like this:
select sql_func(); --works!
select plpgsql_func(); --bad
select * from plpgsqlfunc(); works, but the other form is nice in some
situations
merlin
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2006-08-02 03:49:39 | Re: Can you run out of oids? |
Previous Message | Ian Harding | 2006-08-02 03:14:23 | Re: Best Procedural Language? |