[EMAIL PROTECTED] writes:
> insert into test_table values('jim');
> --Doh! ____rowver____ = 1 (should be 2)

1 is correct for the first nextval() from a sequence.

> insert into test_table values('joe');
> --Doh! ____rowver____ = 1 (should be 3)

I can't duplicate this under either 7.0.2 or current sources.
I get this final state from your example:

play=> select * from test_table;
 name | ____rowver____
------+----------------
 jim  |              2
 joe  |              3
(2 rows)

which looks fine to me...

                        regards, tom lane

Reply via email to