purgedb for postgre verified for primary keys