When I create a new table with a serial column, the first row defaults to
inserting '1'.

If I delete all the rows from the table and want to reset the sequence, I

ERROR:  users_health_types_type_id_seq.setval: value 0 is out of bounds

How do I set the sequence to have next value = 1?  Surely the bounds should
begin at zero?


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
    (send "unregister YourEmailAddressHere" to [EMAIL PROTECTED])

Reply via email to