added restart identity to pgsql truncate.