Added support for editing of result sets from tables with OIDs in query tool.

This commit is contained in:
Yosry Muhammad
2019-07-29 12:26:53 +05:30
committed by Akshay Joshi
parent 2ef3080d0e
commit 82d209946f
6 changed files with 143 additions and 40 deletions

View File

@@ -45,8 +45,9 @@ class StartRunningQuery:
if type(session_obj) is Response:
return session_obj
# Remove any existing primary keys in session_obj
# Remove any existing primary keys or has_oids in session_obj
session_obj.pop('primary_keys', None)
session_obj.pop('oids', None)
transaction_object = pickle.loads(session_obj['command_obj'])
can_edit = False