Re: Asynchronous trigger

From: "Merlin Moncure" <mmoncure(at)gmail(dot)com>
To: "Jean-Christophe Praud" <jc(at)praud(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Asynchronous trigger
Date: 2006-09-07 04:15:00
Message-ID: b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9/6/06, Jean-Christophe Praud <jc(at)praud(dot)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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2006-09-07 04:41:32 Re: Majordomo drops multi-line Subject:
Previous Message Merlin Moncure 2006-09-07 04:13:11 Re: Problems with sequences