PL/Pgsql or PL/Python?

From: Wolfgang Keller <wolfgang(dot)keller(dot)nospam(at)gmx(dot)de>
To: pgsql-novice(at)postgresql(dot)org
Subject: PL/Pgsql or PL/Python?
Date: 2005-02-27 15:59:14
Message-ID: ye4ou3hnyx14$.1nctuypjsn5pe.dlg@40tude.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hello,

I was wondering whether it is worth for me to learn PL/Pgsql, given the
support of Python in Postgresql. The latter (Python) is the only
programming language I've learned voluntarily in my whole life, i.e.
without being obliged to do so, you know. ;-)

So, what things can be done in PL/Pgsql which can't be done in PL/Python
(and vice-versa)? And, how do both compare in terms of runtime efficiency
(speed/memory)?

Apart from typical "ERP-like" work, the applications I am planning to use
Postgresql for involve storage and (numeric) processing of quite
significant amounts of (binary) measurement data. Specifically, "hacking"
long streams of binary data fed into a database in batch mode into
individual OPC-conform triplets, among others. So I thought the numeric
module and iterator feature in Python would be quite useful...

TIA,

Best regards

Wolfgang Keller

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Mark Quinn 2005-02-27 19:15:11 Warning: pg_exec() query failed: ERROR: Attribute "admin" not found
Previous Message Bruno Wolff III 2005-02-26 17:01:45 Re: Transposing a table