mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Fix query history exception for Python 3.6. Fixes #4750.
This commit is contained in:
parent
426d9d5872
commit
80b05973c6
@ -61,4 +61,5 @@ Bug fixes
|
||||
| `Issue #4726 <https://redmine.postgresql.org/issues/4726>`_ - Ensure sequence with negative value should be created.
|
||||
| `Issue #4727 <https://redmine.postgresql.org/issues/4727>`_ - Fix issue where EXEC script doesn't write the complete script for Procedures.
|
||||
| `Issue #4736 <https://redmine.postgresql.org/issues/4736>`_ - Fix query tool and view data issue with the Italian language.
|
||||
| `Issue #4742 <https://redmine.postgresql.org/issues/4742>`_ - Ensure Primary Key should be created with Index.
|
||||
| `Issue #4742 <https://redmine.postgresql.org/issues/4742>`_ - Ensure Primary Key should be created with Index.
|
||||
| `Issue #4750 <https://redmine.postgresql.org/issues/4750>`_ - Fix query history exception for Python 3.6.
|
@ -19,7 +19,10 @@ class QueryHistory:
|
||||
data={
|
||||
'status': True,
|
||||
'msg': '',
|
||||
'result': [bytes(rec.query_info) for rec in list(result)]
|
||||
'result': [
|
||||
bytes(rec.query_info, encoding='utf8')
|
||||
for rec in list(result)
|
||||
]
|
||||
}
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user