[EMAIL PROTECTED] (Dave Stokes) schreef:
>I have a sequence that I 'thought' was providing unique numbers but is 
>not. Is there someway to turn on unique-ness?  

Sequences are documented on 
http://www.postgresql.org/users-lounge/docs/7.1/reference/sql-createsequence.html

The numbers may not be unique if:
- there are already values in the column that conflict with numbers
(to be) generated by the sequence
- it was created with "cycle" and it cycles
- values are inserted into the column that have not been generated by
the sequence
- there is more than one sequence inserting values into the column
- there is a trigger that interferes
- ...

>Should I reload after adding unique to the sequence?  

I'm not sure what you mean by that.

-- 
Vriendelijke groet,
Ren� Pijlman <[EMAIL PROTECTED]>

Wat wil jij leren?
http://www.leren.nl/

---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

Reply via email to