explicit setting of flags

ierr and is_file member of pg_data