Add support for editing data in tables with OIDs but no primary keys. Fixes #2849.
This patch also updates the editor to retrieve all row values on save, thus immediately showing default values and
allowingsubsequent editing without a refresh.
Branch
------
WEBPACK_DEVEL2
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=79df812aa66d3abd9455e68cee70470ce3ec976d
Author: Khushboo Vashi <khushboo.vashi@enterprisedb.com>
Modified Files
--------------
.../tables/templates/column/sql/9.2_plus/nodes.sql | 10 +-
.../tables/templates/column/sql/default/nodes.sql | 6 +-
web/pgadmin/tools/sqleditor/__init__.py | 23 ++++-
web/pgadmin/tools/sqleditor/command.py | 105 ++++++++++++++++++---
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 57 +++++++----
.../templates/sqleditor/sql/default/has_oids.sql | 6 ++
.../templates/sqleditor/sql/default/insert.sql | 4 +-
.../sqleditor/sql/default/objectquery.sql | 2 +-
.../templates/sqleditor/sql/default/select.sql | 9 ++
9 files changed, 183 insertions(+), 39 deletions(-)