pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Merlin Moncure <mmoncure@gmail.com>
To: Jean-Christophe Praud <jc@praud.com>
Cc: pgsql-general@postgresql.org
Subject: Re: Asynchronous trigger
Date: Thu, 7 Sep 2006 00:15:00 -0400
Message-ID: <b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com> (raw)
In-Reply-To: <44FF3DAE.5050406@praud.com>
References: <44FF3DAE.5050406@praud.com>

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-PLP...

merlin



view thread (11+ messages)  latest in thread

Message-ID: <b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com>
Permalink:  ../b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com/
Also on:    postgresql.org/message-id/b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: mmoncure@gmail.com, jc@praud.com
  Subject: Re: Asynchronous trigger
  In-Reply-To: <b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com>
  References: <44FF3DAE.5050406@praud.com> <b42b73150609062115w662f0926y59f8c8ace7a7a833@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox