[SQL] Thank you all for your help...

2009-09-18 Thread rawi
I appreciate very much your opinions. They'll help me to adjust my approach to this problem. As I meant, it wouldn't be "cool" to have hibernate hoarding 50 ids, I didn't mean the id-gaps and id-loss, that's no problem, but also to lose the timely clear id alignment in the case of parallel access

Re: [SQL] Rules, functions and RETURNING

2009-09-18 Thread Nico Mandery
Adrian Klaver wrote: > On Thursday 17 September 2009 8:35:52 am Nico Mandery wrote: >> Hello list, >> >> I am trying to wirte a rule which calls a PLPgSQL-function upon an >> Insert in a table. Here is a somewhat simplified example of what i got >> so far: >> >> CREATE TABLE mytable ( >> mytab