Skip site navigation (1) Skip section navigation (2)

trigger bugs ? and suggestions

From: De Leeuw Guy <G(dot)De_Leeuw(at)eurofer(dot)be>
To: pgsql-admin(at)postgresql(dot)org
Subject: trigger bugs ? and suggestions
Date: 2007-07-24 16:01:10
Message-ID: 46A62246.9010005@eurofer.be (view raw or flat)
Thread:
Lists: pgsql-admin
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





pgsql-admin by date

Next:From: PostgreSQL AdminDate: 2007-07-24 16:48:26
Subject: Re: deinstallation - reinstallation on Mac OS 10.4
Previous:From: Ben KimDate: 2007-07-24 14:20:38
Subject: Re: "_" in a serach pattern

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group