mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2026-10-26 06:30:06 -05:00
Ensure that the ERD tool should work with the external database after moving to psycopg3. #6159
This commit is contained in:
1 parent
20132f8daa
commit
c19fc3628c
2 files changed
+2
-1
No files matched your search
@@ -39,3 +39,4 @@ Bug fixes
|
|||||||
| `Issue #6130 <https://github.com/pgadmin-org/pgadmin4/issues/6130>`_ - Ensure to quote the primary key value if needed while deleting rows from the table.
|
| `Issue #6130 <https://github.com/pgadmin-org/pgadmin4/issues/6130>`_ - Ensure to quote the primary key value if needed while deleting rows from the table.
|
||||||
| `Issue #6137 <https://github.com/pgadmin-org/pgadmin4/issues/6137>`_ - Fixed error occurring while dumping the servers from CLI.
|
| `Issue #6137 <https://github.com/pgadmin-org/pgadmin4/issues/6137>`_ - Fixed error occurring while dumping the servers from CLI.
|
||||||
| `Issue #6138 <https://github.com/pgadmin-org/pgadmin4/issues/6138>`_ - Throw an appropriate error when a table for which View/Edit data is open, is deleted, and query is executed.
|
| `Issue #6138 <https://github.com/pgadmin-org/pgadmin4/issues/6138>`_ - Throw an appropriate error when a table for which View/Edit data is open, is deleted, and query is executed.
|
||||||
|
| `Issue #6159 <https://github.com/pgadmin-org/pgadmin4/issues/6159>`_ - Ensure that the ERD tool should work with the external database after moving to psycopg3.
|
||||||
@@ -478,7 +478,7 @@ def panel(trans_id):
|
|||||||
if "linux" in _platform:
|
if "linux" in _platform:
|
||||||
is_linux_platform = True
|
is_linux_platform = True
|
||||||
|
|
||||||
s = Server.query.filter_by(id=params['sid']).first()
|
s = Server.query.filter_by(id=int(params['sid'])).first()
|
||||||
|
|
||||||
params.update({
|
params.update({
|
||||||
'bgcolor': s.bgcolor,
|
'bgcolor': s.bgcolor,
|
||||||
|
|||||||
Reference in new issue
Block a user