Re: [ADMIN] trigger and pg_fini

2007-07-28 Thread Stephan Szabo
On Sat, 28 Jul 2007, De Leeuw Guy wrote: > Hello Stephan > > Thanks for you respons. > > Stephan Szabo a ?crit : > > _PG_fini is called when the file is unloaded, but not at process end, > > according to the documentation, so I don't think it does what you want. > > > No, I make a small test : > I

Re: [ADMIN] trigger and pg_fini

2007-07-28 Thread De Leeuw Guy
Hello Stephan Thanks for you respons. Stephan Szabo a écrit : > _PG_fini is called when the file is unloaded, but not at process end, > according to the documentation, so I don't think it does what you want. > No, I make a small test : In _PG_fini I create a file and close it (via fopen), I qu

Re: [ADMIN] trigger and pg_fini

2007-07-27 Thread Stephan Szabo
On Fri, 27 Jul 2007, De Leeuw Guy wrote: > I make a lot of tests with trigger and first problem the function > _PG_fini are never called it is a bug ?. _PG_fini is called when the file is unloaded, but not at process end, according to the documentation, so I don't think it does what you want. >

[ADMIN] trigger and pg_fini

2007-07-27 Thread De Leeuw Guy
Hello all I make a lot of tests with trigger 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