Skip to content

Commit 1d3e0a4

Browse files
committed
Revert the fix for #8006
1 parent 82c5feb commit 1d3e0a4

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

docs/en_US/release_notes_9_2.rst

-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ Housekeeping
3737
Bug fixes
3838
*********
3939

40-
| `Issue #8006 <https://github.com/pgadmin-org/pgadmin4/issues/8006>`_ - Removed the pre-install script from the Red Hat build function as it was causing a No such file or directory warning during the update.
4140
| `Issue #8316 <https://github.com/pgadmin-org/pgadmin4/issues/8316>`_ - Ensure that modal dialogs are not triggered more than once to avoid duplicates.
4241
| `Issue #8355 <https://github.com/pgadmin-org/pgadmin4/issues/8355>`_ - Change session files garbage collection strategy.
4342
| `Issue #8362 <https://github.com/pgadmin-org/pgadmin4/issues/8362>`_ - Fixed an issue where pgAdmin should fallback to main screen if the last opened screen is disconnected.

pkg/redhat/build.sh

+6
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,12 @@ Requires: ${PYTHON_BINARY}, libpq5, krb5-libs
6868
%description
6969
The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world.
7070
71+
%pre
72+
rm -rf /usr/pgadmin4/venv
73+
if [ -d /usr/pgadmin4/web ]; then
74+
cd /usr/pgadmin4/web && rm -rf \$(ls -A -I config_local.py)
75+
fi
76+
7177
%build
7278
7379
%install

web/pgadmin/tools/psql/__init__.py

+1-2
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,7 @@ def non_windows_platform(parent, p, fd, data, max_read_bytes, sid):
274274
except OSError as e:
275275
# If the process is killed, bad file descriptor exception may
276276
# occur. Handle it gracefully
277-
if p.poll() is not None:
278-
raise e
277+
pass
279278

280279

281280
def pty_handel_io(connection_data, data, sid):

0 commit comments

Comments
 (0)