[EMAIL PROTECTED] (Stefan Huber) schreef:
>>Huh? nextval() should always produce unique values (unless the sequence
>>wraps around, of course).
>
>What about explicitly overruling a sequence by INSERTing a specific value,
>when it is not a primary key or defined as serial, but a manual sequence?
Then the sequence will still produce unique values. Its just the
database column that contains a duplicate :-)
--
Vriendelijke groet,
Ren� Pijlman <[EMAIL PROTECTED]>
Wat wil jij leren?
http://www.leren.nl/
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/users-lounge/docs/faq.html