Re: plpythonu / using pg as an application server

From: Sim Zacks <sim(at)compulab(dot)co(dot)il>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: plpythonu / using pg as an application server
Date: 2010-06-01 11:01:11
Message-ID: 4C04E877.8030207@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


>> Is there any good reason not to include this functionality directly in
>> the database? (Too much parallel processing, engine not equipped for
>> that kind of processing, threading issues...)
>>
>>
> there are some issues still
>
> * missing integrated scheduler
> * missing autonomous transaction
>
> if these isn't issue for you, then you can use "rich" database without
> bigger problems.
>
These are very real issues. As workarounds, I am using cron on the
server to call database functions. I am planning on installing pgAgent,
but still haven't gotten around to it.
For autonomous transactions or what we might call asynchronous triggers,
I use the listen/notify mechanism and the server calls the function when
the Notify call is made.
Sim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sim Zacks 2010-06-01 11:26:30 Re: plpythonu / using pg as an application server
Previous Message Sim Zacks 2010-06-01 10:56:17 Re: plpythonu / using pg as an application server