Sequence mantis_user_table_id_seq :: currval

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Posts: 3
Joined: 20 Aug 2020, 13:55

Sequence mantis_user_table_id_seq :: currval

Post by Arkady04 »


I've an issue since i've migrate to a PostGreSQL database.

When i try to create a new user; i got the following message [...] ERROR: currval of sequence "mantis_user_table_id_seq" is not yet defined in this session pour la requête : SELECT currval('mantis_user_table_id_seq'); [...]

The user exists in database but the is is null 8O

The query in a in client SELECT currval('mantis_user_table_id_seq'); give me the same error

If i execute; SELECT nexvat('mantis_user_table_id_seq');, i've a reply and the query SELECT currval('mantis_user_table_id_seq'); is OK

What is wrong on this point ?

Thanks a lot for your help
Post Reply