pgAdmin 4 commit: Add support for editing data in tables with OIDsbut - Mailing list pgadmin-hackers

From Dave Page
Subject pgAdmin 4 commit: Add support for editing data in tables with OIDsbut
Date
Msg-id E1eP4HG-0002cc-QK@gothos.postgresql.org
Whole thread Raw
List pgadmin-hackers
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
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=0c5a5ba9c29d27eebffad5914adb9af7551d8d96
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(-)


pgadmin-hackers by date:

Previous
From: Murtuza Zabuawala
Date:
Subject: [pgAdmin4][Patch]: Add basic Tab navigation - Debugger
Next
From: Dave Page
Date:
Subject: Re: [pgAdmin4][Patch]: RM #2849 - Allow editing of data on tableswith OIDs but no primary key