pgAdmin 4 commit: GPDB compatibility fixes: - Mailing list pgadmin-hackers
From | Dave Page |
---|---|
Subject | pgAdmin 4 commit: GPDB compatibility fixes: |
Date | |
Msg-id | E1dn04h-0003IG-MH@gothos.postgresql.org Whole thread Raw |
List | pgadmin-hackers |
GPDB compatibility fixes: When connected to a Greenplum database server - Hide items that not work with GPDB, such as Triggers, FDW, FTS_*, etc - Tables/Views/Catalogs/Language node can expand correctly - Views/Languages/Catalogs can show properties dialog with correct information - Show a greenplum icon at the server node Teng Zhang & Hao Wang Branch ------ master Details ------- https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=821442ed8ffef696c01ac243dc4b2eb342d197a7 Author: Teng Zhang <tezhang@pivotal.io> Modified Files -------------- .../servers/databases/casts/__init__.py | 1 + .../servers/databases/event_triggers/__init__.py | 1 + .../servers/databases/extensions/__init__.py | 1 + .../databases/foreign_data_wrappers/__init__.py | 1 + .../servers/databases/languages/__init__.py | 4 +- .../templates/languages/sql/gpdb_5.0_plus/acl.sql | 34 +++++++++ .../languages/sql/gpdb_5.0_plus/properties.sql | 22 ++++++ .../servers/databases/schemas/__init__.py | 19 +++-- .../databases/schemas/collations/__init__.py | 1 + .../servers/databases/schemas/domains/__init__.py | 1 + .../databases/schemas/foreign_tables/__init__.py | 1 + .../schemas/fts_configurations/__init__.py | 1 + .../databases/schemas/fts_dictionaries/__init__.py | 1 + .../databases/schemas/fts_parser/__init__.py | 4 + .../databases/schemas/fts_templates/__init__.py | 1 + .../databases/schemas/functions/__init__.py | 3 + .../databases/schemas/sequences/__init__.py | 1 + .../schemas/tables/partitions/__init__.py | 2 + .../databases/schemas/tables/triggers/__init__.py | 3 + .../catalog/gpdb_5.0_plus/macros/catalogs.sql | 21 ++++++ .../templates/catalog/gpdb_5.0_plus/sql/acl.sql | 38 ++++++++++ .../templates/catalog/gpdb_5.0_plus/sql/create.sql | 17 +++++ .../catalog/gpdb_5.0_plus/sql/get_name.sql | 1 + .../catalog/gpdb_5.0_plus/sql/is_catalog.sql | 9 +++ .../templates/catalog/gpdb_5.0_plus/sql/nodes.sql | 16 ++++ .../catalog/gpdb_5.0_plus/sql/properties.sql | 24 ++++++ .../templates/catalog/gpdb_5.0_plus/sql/update.sql | 30 ++++++++ .../schema/gpdb_5.0_plus/allowed_privs.json | 30 ++++++++ .../templates/schema/gpdb_5.0_plus/sql/acl.sql | 23 ++++++ .../templates/schema/gpdb_5.0_plus/sql/create.sql | 40 ++++++++++ .../templates/schema/gpdb_5.0_plus/sql/defacl.sql | 40 ++++++++++ .../templates/schema/gpdb_5.0_plus/sql/delete.sql | 1 + .../schema/gpdb_5.0_plus/sql/get_name.sql | 1 + .../schema/gpdb_5.0_plus/sql/is_catalog.sql | 9 +++ .../templates/schema/gpdb_5.0_plus/sql/nodes.sql | 20 +++++ .../templates/schema/gpdb_5.0_plus/sql/oid.sql | 1 + .../schema/gpdb_5.0_plus/sql/properties.sql | 57 ++++++++++++++ .../templates/schema/gpdb_5.0_plus/sql/update.sql | 83 +++++++++++++++++++++ .../servers/databases/schemas/views/__init__.py | 23 ++++-- .../views/templates/view/gpdb_5.0_plus/sql/acl.sql | 74 ++++++++++++++++++ .../view/gpdb_5.0_plus/sql/allowed_privs.json | 6 ++ .../templates/view/gpdb_5.0_plus/sql/create.sql | 20 +++++ .../templates/view/gpdb_5.0_plus/sql/delete.sql | 13 ++++ .../templates/view/gpdb_5.0_plus/sql/get_oid.sql | 9 +++ .../view/gpdb_5.0_plus/sql/get_schema.sql | 7 ++ .../templates/view/gpdb_5.0_plus/sql/grant.sql | 6 ++ .../templates/view/gpdb_5.0_plus/sql/nodes.sql | 13 ++++ .../view/gpdb_5.0_plus/sql/properties.sql | 57 ++++++++++++++ .../templates/view/gpdb_5.0_plus/sql/update.sql | 67 +++++++++++++++++ .../templates/view/gpdb_5.0_plus/sql/view_id.sql | 4 + .../server_groups/servers/pgagent/__init__.py | 3 + .../server_groups/servers/static/img/gpdb.png | Bin 0 -> 1244 bytes web/pgadmin/browser/tests/test_version_in_range.py | 68 +++++++++++++++++ web/pgadmin/browser/utils.py | 24 ++++-- 54 files changed, 938 insertions(+), 19 deletions(-)
pgadmin-hackers by date: