It doesn't even try to restore the sequence and thats why the table`s creation fails. I checked if the sequence is included in the dump and indeed it is included :
[root@mymachines]# pg_restore --list mydb.dump | grep specific_table
240; 1259 4236971 SEQUENCE public specific_table _id_seq postgres
3524; 0 0 ACL public specific_table_id_seq postgres
241; 1259 4236973 TABLE public specific_table postgres
3525; 0 0 ACL public specific_table postgres
3436; 0 4236973 TABLE DATA public specific_table postgres
3565; 0 0 SEQUENCE SET public specific_table_id_seq postgres
3231; 2606 4237762 CONSTRAINT public specific_table_pkey postgres
I tried to generate a plain text from the dump :
pg_restore -U postgres -t specific mydb.dump > output
However, the output file doesnt contain the creation command of the sequence.
Someone can explain the weird behavior ?