The following bug has been logged online:
Bug reference: 2380
Logged by: Alex Fomin
Email address: google(at)gmx-topmail(dot)de
PostgreSQL version: 8.1.3
Operating system: Ubuntu Linux
Description: Sequence problem
Details:
While using the following function:
---
nextval(sequence_name) returns currval(sequence_name) -1
---
while +1 is expected. It happens only sometimes, no dependency can be found.