Search Postgresql Archives

Re: choiche of function language was: Re: dynamic procedure call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On May 10, 2008, at 12:14 AM, Ivan Sergio Borgonovo wrote:

On Sat, 10 May 2008 07:35:36 +0200
"Pavel Stehule" <pavel.stehule@xxxxxxxxx> wrote:

your application different execution paths. Generally I can say, so
plpgsql isn't well language for this games, and better is using
plperl, plpython or other external language.

It is clear what is at least one of the advantage of plpython or
plperl over plpgsql, but then what are the advantages of plpgsql over
the rest of the crowd other than resembling the language used in
Oracle?

A much better impedance match to the database. It's designed for
doing database-ish things. The biggest advantage there is that
your datatypes are the database datatypes and your expression
parser is the sql expression parser. That makes using things like
timestamp or interval or custom database types simpler and cleaner
from pl/pgsql than from, say, pl/perl/

Cheers,
  Steve



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux