last_value from sequence in Postgresl 7.32 always returns 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Im working with Postgresql 7.32. I dont know if there are changes to 7.2
version about selecting values of a sequence.
I have a sequence 'users_id' ... when I query:

"Select last_value from users_id;"

PgSQL always returns 1!

I tested the same thing using PgSQL 7.2 ans works fine....

[]'s

Rapha




-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux