Re: [GENERAL] Asynchronous trigger

2006-09-07 Thread Sim Zacks
You want to use the Notify/Listen framework. 1) You need a rule on a table that says on Update (or insert or delete) do also notify {key} 2) You need a daemon running against the server that calls listen {key} 3) when the table is updated (or inserted or deleted) then your application will be a

Re: [GENERAL] Asynchronous trigger

2006-09-06 Thread Merlin Moncure
On 9/6/06, Jean-Christophe Praud <[EMAIL PROTECTED]> wrote: Hi all, I'm planning to convert an application to postgresql 8.1 (from mysql). Currently we have some recursive procedures done on the application side we would want to rewrite as stored pl/pgsql procedures called by triggers... Is it

Re: [GENERAL] Asynchronous trigger

2006-09-06 Thread Jeff Davis
On Wed, 2006-09-06 at 23:29 +0200, Jean-Christophe Praud wrote: > Hi all, > > I'm planning to convert an application to postgresql 8.1 (from mysql). > Currently we have some recursive procedures done on the application side > we would want to rewrite as stored pl/pgsql procedures called by trigge

[GENERAL] Asynchronous trigger

2006-09-06 Thread Jean-Christophe Praud
Hi all, I'm planning to convert an application to postgresql 8.1 (from mysql). Currently we have some recursive procedures done on the application side we would want to rewrite as stored pl/pgsql procedures called by triggers... Is it possible for these triggers to be asynchronous, in order no