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:26:30
Message-ID: 4C04EE66.8060003@compulab.co.il
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

As an example of a filesystem access that is transaction dependent:
When I create a new supplier in the database, I need a set of
directories built on the file system.
If the directories are not there, it will cause a lot of problems when
dealing with this supplier.
When creating the supplier, I use a trigger to build the directories,
and if it can't then it will error out, roll back the supplier insert
and give an error to the user that they cannot build the directory
structure and to please speak with IT to resolve the issue.

Sim

In response to

Browse pgsql-general by date

  From Date Subject
Next Message David Fetter 2010-06-01 12:52:46 Re: server-side extension in c++
Previous Message Sim Zacks 2010-06-01 11:01:11 Re: plpythonu / using pg as an application server