Subject | Re: [firebird-support] Re: Maintaining proper generator values |
---|---|
Author | Milan Babuskov |
Post date | 2003-11-11T20:11:33Z |
Alexander V.Nevsky wrote:
here we have the opposite.
However, look at the scenario from my other message, I think it fits.
--
Milan Babuskov
http://fbexport.sourceforge.net
> Doug, you surprize me. Generators are multy-users safe namelyFor his app. that is ok.
> because they are outside transaction control. Look (your approach)
>
> App 1 starts
> App 1 re-set generators - OK, it is lonely
> App 1 makes insert and move generator but don't commit yet
> App 2 starts
> App 2 select max which is less than generator value because insert
> is'nt commited
> App 2 set generator backwardsNot really. His app. only changes generators when gen < max(pk), and
here we have the opposite.
However, look at the scenario from my other message, I think it fits.
> And about client-side or server-side PK columns filling - guys,I like the timestamp: 2003-11-11 11:42 ;)
> what about feature request #840210 in FB RFE tracker? ;)))
--
Milan Babuskov
http://fbexport.sourceforge.net