Fixed an issue where reading process logs throws an error when DATA_DIR is moved to a networked drive. #6803

This commit is contained in:
Akshay Joshi 2023-11-23 16:32:52 +05:30
parent a9ca7a2fd4
commit 338bb64a55
2 changed files with 2 additions and 1 deletions

View File

@ -28,6 +28,7 @@ Housekeeping
Bug fixes
*********
| `Issue #6803 <https://github.com/pgadmin-org/pgadmin4/issues/6803>`_ - Fixed an issue where reading process logs throws an error when DATA_DIR is moved to a networked drive.
| `Issue #6887 <https://github.com/pgadmin-org/pgadmin4/issues/6887>`_ - Fixed an issue where syntax error was not highlighting in query tool.
| `Issue #6921 <https://github.com/pgadmin-org/pgadmin4/issues/6921>`_ - Fixed an issue where on entering full screen, the option label is not changed to 'Exit Full Screen' in desktop mode.
| `Issue #6958 <https://github.com/pgadmin-org/pgadmin4/issues/6958>`_ - Reverse engineer serial columns when generating ERD for database/table.

View File

@ -478,7 +478,7 @@ class BatchProcess:
return 0, True
with open(logfile, 'rb') as f:
eofs = os.fstat(f.fileno()).st_size
eofs = os.path.getsize(logfile)
f.seek(pos, 0)
if pos == eofs and ecode is None:
completed = False