I need that after `TRUNCATE` table, reset his sequence, for this I do :

```
SELECT setval('mytable_id_seq', 1) 

```

After, when insert rows in table, sequence is started from `2` not `1`

How to resert sequence value such, that new first value will be `1`?

```
 SELECT setval('mytable_id_seq', 0) // gives error that value is out of range

```