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 allowing subsequent editing without a refresh. Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0c5a5ba9c29d27eebffad5914adb9af7551d8d96 Author: Khushboo Vashi <khushboo.va...@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(-)