PostgreSQL Auto Increment tidak berfungsi

SELECT setval('test_id_seq', (SELECT MAX(id) from "test"));
patrick204nqh