Re: Trigger that spawns forked process - Mailing list pgsql-general

From Christopher Murtagh
Subject Re: Trigger that spawns forked process
Date
Msg-id 1115759487.9735.31.camel@localhost.localdomain
Whole thread Raw
In response to Re: Trigger that spawns forked process  (David Fetter <david@fetter.org>)
List pgsql-general
On Tue, 2005-05-10 at 13:50 -0700, David Fetter wrote:
> Why do you think Slony won't work for this?  One way it could do it is
> to have an ON INSERT trigger that populates one or more tables with
> the result of the XSLT, which table(s) Slony replicates to the other
> servers.

 Because the nodes are not databases, they are Apache/PHP web servers
which have file system caching where the URL = directory/file. The XSLT
also converts XML objects to PHP code. So basically a content editor can
do something like:

<br /><br />
This is my course description: <coursedesc courseid="AAA 123" />
...
etc.


and the XSLT converts the <coursedesc /> tag into a PHP function (that
does a db lookup).

Cheers,

Chris


pgsql-general by date:

Previous
From: David Fetter
Date:
Subject: Re: Trigger that spawns forked process
Next
From: Christopher Murtagh
Date:
Subject: Re: Trigger that spawns forked process