From: | Dave Page <dpage(at)pgadmin(dot)org> |
---|---|
To: | pgadmin-hackers(at)postgresql(dot)org |
Subject: | pgAdmin 4 commit: Add support for editing data in tables with OIDs but |
Date: | 2017-12-13 10:28:38 |
Message-ID: | E1eP4HG-0002cc-QK@gothos.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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 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(dot)vashi(at)enterprisedb(dot)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(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Dave Page | 2017-12-13 10:28:54 | Re: [pgAdmin4][Patch]: RM #2849 - Allow editing of data on tables with OIDs but no primary key |
Previous Message | Murtuza Zabuawala | 2017-12-13 07:55:54 | [pgAdmin4][Patch]: Add basic Tab navigation - Debugger |