archive_an_account: added initial postgres support