Sabin Coanda написа:
> ""Marcin Stкpnicki"" <mstepnicki@gmail.com> wrote in message
> news:pan.2007.05.22.12.41.38.862364@gmail.com...
> ...
>> I think that you either misunderstood this statement or try to break your
>> application in a nasty way ;). Please tell us more about your problem
>> and/or what do you want to achive, because sequences behave this way for a
>> reason (concurrency issues). Perhaps there is another solution.
>
> I have a table with a serial primary key aoto generated by a sequence. I
> add/remove records. At a moment I'd like to know what is the current value
> of the sequence. I don't wish to know this in the same session where I
> add/remove records.
Why do you need to know that? I can't think of any reason.
[...]
--
Milen A. Radev