PL/Pgsql or PL/Python? - Mailing list pgsql-novice

From Wolfgang Keller
Subject PL/Pgsql or PL/Python?
Date
Msg-id ye4ou3hnyx14$.1nctuypjsn5pe.dlg@40tude.net
Whole thread Raw
Responses Re: PL/Pgsql or PL/Python?  (Andrew Hammond <ahammond@ca.afilias.info>)
Re: PL/Pgsql or PL/Python?  (Stuart Bishop <stuart.bishop@canonical.com>)
List 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


pgsql-novice by date:

Previous
From: Bruno Wolff III
Date:
Subject: Re: Transposing a table
Next
From: Deepblues
Date:
Subject: Import csv file into multiple tables in Postgres