add rename_database method to PostgresHandler