Identité de redémarrage en cascade tronqué postgresql tronquée
TRUNCATE bigtable, fattable RESTART IDENTITY;
Cirilord
TRUNCATE bigtable, fattable RESTART IDENTITY;
TRUNCATE <table_name> RESTART IDENTITY CASCADE;
--RESTART will reset the identity sequence
--CASCADE all tables that have a foreign key reference to
--table_name will be truncated as well