Setval Postgres Exemple ID de table
SELECT setval('tbl_tbl_id_seq', max(tbl_id)) FROM tbl;
Different Dog
SELECT setval('tbl_tbl_id_seq', max(tbl_id)) FROM tbl;