corrected tpostgresRow for deletion of deleted files

Same as for ANFOG_RT, moved iDeletedResources before I HarvestResources, and set up a new connection i tPostgresqlRow