SetVal Postgres ID de tabla de ejemplo

SELECT setval('tbl_tbl_id_seq', max(tbl_id)) FROM tbl;
Different Dog