pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: De Leeuw Guy <G.De_Leeuw@eurofer.be>
To: pgsql-admin@postgresql.org
Subject: trigger bugs ? and suggestions
Date: Wed, 25 Jul 2007 10:38:09 +0200
Message-ID: <46A70BF1.40800@eurofer.be> (raw)

Hello all

Follow up my previous post and the respons given by Andrew Sullivan,
I make a lot of tests and first problem the function _PG_fini are never
called it is a bug ?.
This is a big problem for me because I want to cleanup the data managed
by my trigger.

second problem I cannot detect from a trigger the kind of call (row or
transaction) I suggest (if it's possible) to add a trigger event like :
begin start, begin end copy start copy end or something like that.

and finally if the trigger run inside a transaction like copy or
begin/end I cannot read the modifications make by my trigger in the same
session.
it is possible to have a special select like select_uncommited data ?

regards

Guy







view thread (4+ messages)

Message-ID: <46A70BF1.40800@eurofer.be>
Permalink:  ../46A70BF1.40800@eurofer.be/
Also on:    postgresql.org/message-id/46A70BF1.40800@eurofer.be

 · 

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-admin@postgresql.org
  Cc: G.De_Leeuw@eurofer.be
  Subject: Re: trigger bugs ? and suggestions
  In-Reply-To: <46A70BF1.40800@eurofer.be>

* 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