Re: Asynchronous trigger - Mailing list pgsql-general

From Merlin Moncure
Subject Re: Asynchronous trigger
Date
Msg-id b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com
Whole thread Raw
In response to Asynchronous trigger  (Jean-Christophe Praud <jc@praud.com>)
List pgsql-general
On 9/6/06, Jean-Christophe Praud <jc@praud.com> 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 possible for these triggers to be asynchronous, in order not to
> block the client application during the recursive process ?

Have you considered doing the recursion on the server side?

http://people.planetpostgresql.org/merlin/index.php?/archives/2-Dealing-With-Recursive-Sets-With-PLPGSQL.html

merlin

pgsql-general by date:

Previous
From: "Merlin Moncure"
Date:
Subject: Re: Problems with sequences
Next
From: "Joshua D. Drake"
Date:
Subject: Re: Majordomo drops multi-line Subject: