last_value from sequence in Postgresl 7.32 always returns 1

From: Date: Mon, 12 May 2003 16:09:00 +0000
Subject: last_value from sequence in Postgresl 7.32 always returns 1
Groups: php.db 
Request: Send a blank email to php-db+get-27670@lists.php.net to get a copy of this message
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

« previous php.db (#27670) next »