Re: Should I use PL/PGSQL or Perl/PGSQL?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: Tyler MacDonald <tyler(at)yi(dot)org>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Should I use PL/PGSQL or Perl/PGSQL?
Date: 2006-02-04 11:04:47
Message-ID: 20060204110447.GB17045@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Feb 03, 2006 at 07:32:25PM -0800, Tyler MacDonald wrote:
> I've been wondering, does anybody know which is more likely to be
> installed on a postgresql server? Which is faster? I'm writting an
> application in perl that is going to need to get broad information about
> heiarchial data (how many parents, settings common on parents, etc), and I'd
> like to put that data presentation logic into the database.

Well, plpgsql has been around for a long time whereas plperl is new so
at a guess the former will be much more common. Also, plpgsql is
installed by default on many systems whereas plperl is usually an
addon.

As for speed, no comment. Developer time is generally more important
anyway.

Have a nice day,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Philippe Ferreira 2006-02-04 18:32:54 Re: Bug with sequences and WAL ?
Previous Message Philippe Ferreira 2006-02-04 10:43:17 Re: Bug with sequences and WAL ?