Re: Trigger that spawns forked process

Поиск
Список
Период
Сортировка
От Christopher Murtagh
Тема Re: Trigger that spawns forked process
Дата
Msg-id 1115759487.9735.31.camel@localhost.localdomain
обсуждение исходный текст
Ответ на Re: Trigger that spawns forked process  (David Fetter <david@fetter.org>)
Список 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 по дате отправления:

Предыдущее
От: David Fetter
Дата:
Сообщение: Re: Trigger that spawns forked process
Следующее
От: Christopher Murtagh
Дата:
Сообщение: Re: Trigger that spawns forked process