pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
trigger bugs ? and suggestions
4+ messages / 1 participants
[nested] [flat]

* trigger bugs ? and suggestions
@ 2007-07-23 14:10  De Leeuw Guy <G.De_Leeuw@eurofer.be>
  0 siblings, 0 replies; 4+ messages in thread

From: De Leeuw Guy @ 2007-07-23 14:10 UTC (permalink / raw)
  To: 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







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* trigger bugs ? and suggestions
@ 2007-07-23 21:06  De Leeuw Guy <G.De_Leeuw@eurofer.be>
  0 siblings, 0 replies; 4+ messages in thread

From: De Leeuw Guy @ 2007-07-23 21:06 UTC (permalink / raw)
  To: 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







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* trigger bugs ? and suggestions
@ 2007-07-24 16:01  De Leeuw Guy <G.De_Leeuw@eurofer.be>
  0 siblings, 0 replies; 4+ messages in thread

From: De Leeuw Guy @ 2007-07-24 16:01 UTC (permalink / raw)
  To: 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







^ permalink  raw  reply  [nested|flat] 4+ messages in thread

* trigger bugs ? and suggestions
@ 2007-07-25 08:38  De Leeuw Guy <G.De_Leeuw@eurofer.be>
  0 siblings, 0 replies; 4+ messages in thread

From: De Leeuw Guy @ 2007-07-25 08:38 UTC (permalink / raw)
  To: 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







^ permalink  raw  reply  [nested|flat] 4+ messages in thread


end of thread, other threads:[~2007-07-25 08:38 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2007-07-23 14:10 trigger bugs ? and suggestions De Leeuw Guy <G.De_Leeuw@eurofer.be>
2007-07-23 21:06 trigger bugs ? and suggestions De Leeuw Guy <G.De_Leeuw@eurofer.be>
2007-07-24 16:01 trigger bugs ? and suggestions De Leeuw Guy <G.De_Leeuw@eurofer.be>
2007-07-25 08:38 trigger bugs ? and suggestions De Leeuw Guy <G.De_Leeuw@eurofer.be>

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