pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Enrico Weigelt <weigelt@metux.de>
To: pgsql-sql <pgsql-sql@postgresql.org>
Subject: detaching triggers
Date: Sun, 27 Mar 2005 17:41:02 +0200
Message-ID: <20050327154102.GA16122@nibiru.borg.metux.de> (raw)


Hi folks,

is it somehow possible to detach trigger, so the calling transaction
can return immediately, even before the trigger function has 
returned. 

I've got to do some quite complex things which may need some time, 
when some clients fill in some data, but the results are quite
uninteresting to these clients - its important that the client's 
query is finished as fast as possible.

The only solution I currently know is to fill somethings in a queue 
table by rule and have an external daemon looking at it every second.
But this doesnt seem very optimal for me.

Any better idea out these ?


thx
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     contact@metux.de
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------



view thread (2+ messages)  latest in thread

Message-ID: <20050327154102.GA16122@nibiru.borg.metux.de>
Permalink:  ../20050327154102.GA16122@nibiru.borg.metux.de/
Also on:    postgresql.org/message-id/20050327154102.GA16122@nibiru.borg.metux.de

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: weigelt@metux.de
  Subject: Re: detaching triggers
  In-Reply-To: <20050327154102.GA16122@nibiru.borg.metux.de>

* 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