pgAdmin 4 commit: Ensure editable and read-only columns in Query Tool s

Akshay Joshi <[email protected]>
Newsgroups gmane.comp.db.postgresql.pgadmin.devel
Message-ID <[email protected]>
Ensure editable and read-only columns in Query Tool should be identified by icons and tooltips in the column header. Fixes #4667

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=f8f7d5ac6fd1625ec8d27300b9a1c5319fc22446
Author: Yosry Muhammad <[email protected]>

Modified Files
--------------
docs/en_US/editgrid.rst                            |   4 +-
docs/en_US/images/query_tool_editable_columns.png  | Bin 0 -> 31676 bytes
docs/en_US/query_tool.rst                          |  22 +++-
docs/en_US/release_notes_4_13.rst                  |   3 +-
.../feature_tests/query_tool_journey_test.py       |  72 ++++++++--
web/pgadmin/static/js/sqleditor_utils.js           |  30 ++++-
web/pgadmin/tools/sqleditor/__init__.py            |  45 ++-----
web/pgadmin/tools/sqleditor/command.py             |  20 ++-
.../tools/sqleditor/static/css/sqleditor.css       |   4 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js |  38 ++++--
.../sqleditor/sql/default/get_columns.sql          |   2 +-
.../tools/sqleditor/utils/get_column_types.py      |  57 ++++++++
.../utils/is_query_resultset_updatable.py          | 145 +++++++++++++++------
.../tests/test_is_query_resultset_updatable.py     |  91 ++++++++++---
web/regression/feature_utils/locators.py           |   8 ++
15 files changed, 411 insertions(+), 130 deletions(-)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.