pgAdmin 4 commit: Remove GPDB support completely. Fixes #6692

From: Akshay Joshi <akshay(dot)joshi(at)enterprisedb(dot)com>
To: pgadmin-hackers(at)lists(dot)postgresql(dot)org
Subject: pgAdmin 4 commit: Remove GPDB support completely. Fixes #6692
Date: 2021-09-09 07:58:39
Message-ID: E1mOExD-00040O-4W@gothos.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

Remove GPDB support completely. Fixes #6692

Branch
------
master

Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=eeff75ba203aa2115bdf46537f49b691a4bcbc16

Modified Files
--------------
.../servers/databases/casts/__init__.py | 1 -
.../databases/casts/tests/test_cast_create.py | 1 -
.../casts/tests/test_cast_create_get_functions.py | 1 -
.../casts/tests/test_cast_create_get_type.py | 1 -
.../databases/casts/tests/test_cast_delete.py | 1 -
.../casts/tests/test_cast_delete_multiple.py | 1 -
.../servers/databases/casts/tests/test_cast_get.py | 1 -
.../tests/test_cast_get_dependencies_dependent.py | 1 -
.../databases/casts/tests/test_cast_get_node.py | 1 -
.../databases/casts/tests/test_cast_get_sql.py | 1 -
.../servers/databases/casts/tests/test_cast_put.py | 1 -
.../servers/databases/event_triggers/__init__.py | 1 -
.../servers/databases/extensions/__init__.py | 1 -
.../extensions/tests/test_extension_add.py | 1 -
.../extensions/tests/test_extension_delete.py | 1 -
.../tests/test_extension_delete_multiple.py | 1 -
.../extensions/tests/test_extension_get.py | 1 -
.../extensions/tests/test_extension_put.py | 1 -
.../servers/databases/external_tables/__init__.py | 276 -------------
.../databases/external_tables/actions/__init__.py | 0
.../databases/external_tables/mapping_utils.py | 164 --------
.../databases/external_tables/properties.py | 78 ----
.../external_tables/reverse_engineer_ddl.py | 69 ----
.../static/img/coll-external_table.svg | 1 -
.../external_tables/static/img/external_table.svg | 1 -
.../templates/sql/gpdb_5.0_plus/create.sql | 60 ---
.../templates/sql/gpdb_5.0_plus/get_columns.sql | 12 -
.../sql/gpdb_5.0_plus/get_table_information.sql | 22 --
.../templates/sql/gpdb_5.0_plus/list.sql | 6 -
.../templates/sql/gpdb_5.0_plus/node.sql | 5 -
.../databases/external_tables/tests/__init__.py | 0
.../tests/test_external_tables_module.py | 101 -----
.../tests/test_external_tables_view.py | 430 ---------------------
.../external_tables/tests/test_mapping_utils.py | 375 ------------------
.../external_tables/tests/test_properties.py | 151 --------
.../tests/test_reverse_engineer_ddl.py | 255 ------------
.../tests/test_sql_template_create_integration.py | 0
.../databases/foreign_data_wrappers/__init__.py | 1 -
.../foreign_servers/sql/gpdb_5.0_plus/acl.sql | 7 -
.../tests/test_foreign_servers_add.py | 1 -
.../tests/test_foreign_servers_delete.py | 1 -
.../tests/test_foreign_servers_delete_multiple.py | 1 -
.../test_foreign_servers_dependent_dependency.py | 1 -
.../tests/test_foreign_servers_get.py | 1 -
.../tests/test_foreign_servers_msql.py | 1 -
.../tests/test_foreign_servers_node.py | 1 -
.../tests/test_foreign_servers_put.py | 1 -
.../tests/test_foreign_servers_sql.py | 1 -
.../user_mappings/tests/test_user_mapping_add.py | 1 -
.../tests/test_user_mapping_delete.py | 1 -
.../tests/test_user_mapping_delete_multiple.py | 1 -
.../test_user_mapping_dependent_dependency.py | 1 -
.../user_mappings/tests/test_user_mapping_get.py | 1 -
.../user_mappings/tests/test_user_mapping_msql.py | 1 -
.../user_mappings/tests/test_user_mapping_node.py | 1 -
.../user_mappings/tests/test_user_mapping_put.py | 1 -
.../user_mappings/tests/test_user_mapping_sql.py | 1 -
.../sql/gpdb_5.0_plus/acl.sql | 7 -
.../foreign_data_wrappers/tests/test_fdw_add.py | 1 -
.../foreign_data_wrappers/tests/test_fdw_delete.py | 1 -
.../tests/test_fdw_delete_multiple.py | 1 -
.../tests/test_fdw_dependency_dependent.py | 2 -
.../tests/test_fdw_get-handlers.py | 1 -
.../foreign_data_wrappers/tests/test_fdw_get.py | 1 -
.../tests/test_fdw_get_nodes.py | 1 -
.../tests/test_fdw_get_validators.py | 1 -
.../foreign_data_wrappers/tests/test_fdw_msql.py | 1 -
.../foreign_data_wrappers/tests/test_fdw_put.py | 1 -
.../foreign_data_wrappers/tests/test_fdw_sql.py | 1 -
.../servers/databases/languages/__init__.py | 2 -
.../templates/languages/sql/gpdb_5.0_plus/acl.sql | 7 -
.../languages/sql/gpdb_5.0_plus/properties.sql | 22 --
.../databases/languages/tests/test_language_add.py | 1 -
.../servers/databases/publications/__init__.py | 2 -
.../servers/databases/schemas/__init__.py | 11 +-
.../databases/schemas/collations/__init__.py | 1 -
.../sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../schemas/collations/tests/test_collation_add.py | 1 -
.../collations/tests/test_collation_delete.py | 1 -
.../tests/test_collation_delete_multiple.py | 1 -
.../tests/test_collation_dependency_dependent.py | 1 -
.../schemas/collations/tests/test_collation_get.py | 1 -
.../tests/test_collation_get_collation_function.py | 1 -
.../collations/tests/test_collation_get_nodes.py | 1 -
.../schemas/collations/tests/test_collation_put.py | 1 -
.../schemas/collations/tests/test_collation_sql.py | 1 -
.../servers/databases/schemas/domains/__init__.py | 1 -
.../domains/sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../domains/sql/gpdb_5.0_plus/properties.sql | 25 --
.../tests/test_domain_dependent_dependency.py | 1 -
.../domains/tests/test_domain_get_collations.py | 1 -
.../schemas/domains/tests/test_domain_get_node.py | 1 -
.../databases/schemas/foreign_tables/__init__.py | 1 -
.../foreign_tables/sql/gpdb_5.0_plus/acl.sql | 7 -
.../sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../foreign_tables/tests/test_foreign_table_add.py | 2 -
.../tests/test_foreign_table_delete.py | 2 -
.../test_foreign_table_dependencies_dependents.py | 2 -
.../foreign_tables/tests/test_foreign_table_get.py | 2 -
.../tests/test_foreign_table_get_msql.py | 2 -
.../tests/test_foreign_table_get_nodes.py | 2 -
...est_foreign_table_get_precreation_parameters.py | 2 -
.../foreign_tables/tests/test_foreign_table_put.py | 2 -
.../foreign_tables/tests/test_foreign_table_sql.py | 2 -
.../schemas/fts_configurations/__init__.py | 1 -
.../databases/schemas/fts_dictionaries/__init__.py | 1 -
.../databases/schemas/fts_parsers/__init__.py | 1 -
.../databases/schemas/fts_templates/__init__.py | 1 -
.../databases/schemas/functions/__init__.py | 3 -
.../schemas/functions/static/js/function.js | 4 +-
.../templates/functions/gpdb/sql/default/acl.sql | 6 -
.../functions/gpdb/sql/default/coll_stats.sql | 20 -
.../functions/gpdb/sql/default/create.sql | 62 ---
.../functions/gpdb/sql/default/delete.sql | 21 -
.../functions/gpdb/sql/default/get_definition.sql | 17 -
.../functions/gpdb/sql/default/get_languages.sql | 4 -
.../functions/gpdb/sql/default/get_oid.sql | 17 -
.../functions/gpdb/sql/default/get_out_types.sql | 6 -
.../functions/gpdb/sql/default/get_schema.sql | 6 -
.../functions/gpdb/sql/default/get_types.sql | 20 -
.../templates/functions/gpdb/sql/default/node.sql | 22 --
.../functions/gpdb/sql/default/properties.sql | 27 --
.../templates/functions/gpdb/sql/default/stats.sql | 8 -
.../functions/gpdb/sql/default/update.sql | 107 -----
.../functions/gpdb/sql/default/variables.sql | 6 -
.../schemas/functions/tests/test_function_get.py | 1 -
.../schemas/functions/tests/test_function_put.py | 1 -
.../schemas/functions/tests/test_procedure_add.py | 1 -
.../functions/tests/test_procedure_delete.py | 1 -
.../tests/test_procedure_delete_multiple.py | 1 -
.../functions/tests/test_procedure_exec_sql.py | 1 -
.../schemas/functions/tests/test_procedure_get.py | 1 -
.../schemas/functions/tests/test_procedure_put.py | 1 -
.../functions/tests/test_trigger_func_add.py | 1 -
.../functions/tests/test_trigger_func_delete.py | 1 -
.../tests/test_trigger_func_delete_multiple.py | 1 -
.../functions/tests/test_trigger_func_get.py | 1 -
.../functions/tests/test_trigger_func_put.py | 1 -
.../edbfuncs/tests/test_package_edbfuncs_get.py | 2 +-
.../schemas/packages/tests/test_package_add.py | 1 -
.../schemas/packages/tests/test_package_delete.py | 1 -
.../packages/tests/test_package_delete_multiple.py | 1 -
.../schemas/packages/tests/test_package_get.py | 1 -
.../schemas/packages/tests/test_package_put.py | 1 -
.../databases/schemas/sequences/__init__.py | 1 -
.../templates/sequences/sql/gpdb_5.0_plus/acl.sql | 7 -
.../schemas/sequences/tests/test_sequence_add.py | 1 -
.../sequences/tests/test_sequence_delete.py | 1 -
.../tests/test_sequence_delete_multiple.py | 1 -
.../schemas/sequences/tests/test_sequence_get.py | 1 -
.../schemas/sequences/tests/test_sequence_put.py | 1 -
.../schemas/synonyms/tests/test_synonym_add.py | 1 -
.../schemas/synonyms/tests/test_synonym_delete.py | 1 -
.../synonyms/tests/test_synonym_delete_multiple.py | 1 -
.../schemas/synonyms/tests/test_synonym_get.py | 1 -
.../schemas/synonyms/tests/test_synonym_put.py | 2 -
.../schemas/tables/compound_triggers/__init__.py | 3 -
.../tests/test_compound_triggers_add.py | 1 -
.../tests/test_compound_triggers_delete.py | 1 -
.../test_compound_triggers_delete_multiple.py | 1 -
.../tests/test_compound_triggers_get.py | 1 -
.../tests/test_compound_triggers_put.py | 1 -
.../tests/test_check_constraint_add.py | 1 -
.../tests/test_check_constraint_delete.py | 1 -
...est_check_constraint_dependencies_dependents.py | 1 -
.../tests/test_check_constraint_get.py | 1 -
.../tests/test_check_constraint_get_nodes.py | 1 -
.../tests/test_check_constraint_msql.py | 1 -
.../tests/test_check_constraint_put.py | 1 -
.../tests/test_check_constraint_sql.py | 1 -
.../tests/test_check_constraint_validate.py | 1 -
.../tests/test_index_constraint_add.py | 2 -
.../tests/test_index_constraint_delete.py | 2 -
...est_index_constraint_dependencies_dependents.py | 1 -
.../tests/test_index_constraint_get.py | 1 -
.../tests/test_index_constraint_get_nodes.py | 1 -
.../tests/test_index_constraint_get_statistics.py | 1 -
.../tests/test_index_constraint_msql.py | 1 -
.../tests/test_index_constraint_sql.py | 1 -
.../tables/partitions/static/js/partition.ui.js | 1 -
.../partitions/tests/test_backend_supported.py | 19 -
.../tables/row_security_policies/__init__.py | 1 -
.../schemas/tables/static/js/show_advanced_tab.js | 23 --
.../databases/schemas/tables/static/js/table.js | 3 +-
.../databases/schemas/tables/static/js/table.ui.js | 1 -
.../templates/columns/sql/gpdb_5.0_plus/acl.sql | 7 -
.../columns/sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../sql/gpdb_5.0_plus/get_constraint_cols.sql | 20 -
.../indexes/sql/gpdb_5.0_plus/column_details.sql | 25 --
.../indexes/sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../partitions/sql/gpdb/5_plus/attach.sql | 2 -
.../partitions/sql/gpdb/5_plus/backend_support.sql | 9 -
.../partitions/sql/gpdb/5_plus/detach.sql | 1 -
.../sql/gpdb/5_plus/get_attach_tables.sql | 23 --
.../templates/partitions/sql/gpdb/5_plus/nodes.sql | 39 --
.../partitions/sql/gpdb/5_plus/properties.sql | 82 ----
.../templates/tables/sql/gpdb_5.0_plus/acl.sql | 7 -
.../templates/tables/sql/gpdb_5.0_plus/create.sql | 172 ---------
.../templates/tables/sql/gpdb_5.0_plus/nodes.sql | 14 -
.../tables/sql/gpdb_5.0_plus/properties.sql | 83 ----
.../templates/tables/sql/gpdb_5.0_plus/stats.sql | 16 -
.../triggers/sql/gpdb/9.1_plus/get_oid.sql | 5 -
.../templates/triggers/sql/gpdb/9.1_plus/nodes.sql | 8 -
.../triggers/sql/gpdb/9.1_plus/properties.sql | 22 --
.../templates/triggers/sql/gpdb/default/alter.sql | 9 -
.../triggers/sql/gpdb/default/backend_support.sql | 9 -
.../templates/triggers/sql/gpdb/default/create.sql | 32 --
.../templates/triggers/sql/gpdb/default/delete.sql | 1 -
.../sql/gpdb/default/enable_disable_trigger.sql | 3 -
.../triggers/sql/gpdb/default/get_columns.sql | 6 -
.../triggers/sql/gpdb/default/get_oid.sql | 4 -
.../triggers/sql/gpdb/default/get_parent.sql | 5 -
.../sql/gpdb/default/get_triggerfunctions.sql | 15 -
.../templates/triggers/sql/gpdb/default/nodes.sql | 7 -
.../triggers/sql/gpdb/default/properties.sql | 1 -
.../templates/triggers/sql/gpdb/default/update.sql | 51 ---
.../schemas/tables/tests/test_template_create.py | 138 -------
.../databases/schemas/tables/tests/test_utils.py | 40 --
.../databases/schemas/tables/triggers/__init__.py | 3 -
.../tables/triggers/tests/test_triggers_add.py | 1 -
.../tables/triggers/tests/test_triggers_delete.py | 1 -
.../tests/test_triggers_delete_multiple.py | 1 -
.../tables/triggers/tests/test_triggers_get.py | 1 -
.../tables/triggers/tests/test_triggers_put.py | 1 -
.../catalog/gpdb_5.0_plus/macros/catalogs.sql | 21 -
.../templates/catalog/gpdb_5.0_plus/sql/acl.sql | 7 -
.../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 --
.../datatype/sql/gpdb_5.0_plus/get_types.sql | 28 --
.../schemas/gpdb_5.0_plus/allowed_privs.json | 30 --
.../templates/schemas/gpdb_5.0_plus/sql/acl.sql | 7 -
.../templates/schemas/gpdb_5.0_plus/sql/create.sql | 40 --
.../templates/schemas/gpdb_5.0_plus/sql/defacl.sql | 7 -
.../templates/schemas/gpdb_5.0_plus/sql/delete.sql | 1 -
.../schemas/gpdb_5.0_plus/sql/get_name.sql | 1 -
.../schemas/gpdb_5.0_plus/sql/is_catalog.sql | 9 -
.../templates/schemas/gpdb_5.0_plus/sql/nodes.sql | 20 -
.../templates/schemas/gpdb_5.0_plus/sql/oid.sql | 1 -
.../schemas/gpdb_5.0_plus/sql/properties.sql | 39 --
.../templates/schemas/gpdb_5.0_plus/sql/update.sql | 83 ----
.../databases/schemas/tests/test_schema_put.py | 1 -
.../servers/databases/schemas/tests/test_utils.py | 14 -
.../templates/types/pg/sql/gpdb_5.0_plus/acl.sql | 7 -
.../pg/sql/gpdb_5.0_plus/additional_properties.sql | 34 --
.../types/pg/sql/gpdb_5.0_plus/get_collations.sql | 6 -
.../types/pg/sql/gpdb_5.0_plus/properties.sql | 31 --
.../servers/databases/schemas/utils.py | 4 -
.../servers/databases/schemas/views/__init__.py | 15 +-
.../templates/views/gpdb_5.0_plus/sql/acl.sql | 8 -
.../views/gpdb_5.0_plus/sql/allowed_privs.json | 6 -
.../templates/views/gpdb_5.0_plus/sql/create.sql | 20 -
.../templates/views/gpdb_5.0_plus/sql/delete.sql | 13 -
.../templates/views/gpdb_5.0_plus/sql/get_oid.sql | 9 -
.../views/gpdb_5.0_plus/sql/get_schema.sql | 7 -
.../templates/views/gpdb_5.0_plus/sql/grant.sql | 6 -
.../templates/views/gpdb_5.0_plus/sql/nodes.sql | 13 -
.../views/gpdb_5.0_plus/sql/properties.sql | 57 ---
.../templates/views/gpdb_5.0_plus/sql/update.sql | 67 ----
.../templates/views/gpdb_5.0_plus/sql/view_id.sql | 6 -
.../servers/databases/subscriptions/__init__.py | 2 -
.../templates/databases/sql/gpdb_5.0_plus/acl.sql | 7 -
web/pgadmin/browser/server_groups/servers/gpdb.py | 30 --
.../server_groups/servers/pgagent/__init__.py | 3 -
.../server_groups/servers/pgagent/tests/utils.py | 4 -
.../server_groups/servers/static/img/gpdb.png | Bin 1244 -> 0 bytes
.../server_groups/servers/tablespaces/__init__.py | 1 -
.../tablespaces/sql/gpdb_5.0_plus/acl.sql | 7 -
.../tablespaces/tests/test_backend_supported.py | 8 -
.../templates/depends/gpdb/5_plus/dependencies.sql | 85 ----
.../templates/depends/gpdb/5_plus/dependents.sql | 71 ----
.../depends/gpdb/5_plus/role_dependencies.sql | 8 -
web/pgadmin/browser/utils.py | 5 -
web/pgadmin/dashboard/__init__.py | 5 +-
.../dashboard/sql/gpdb_5.0_plus/activity.sql | 15 -
.../sql/gpdb_5.0_plus/dashboard_stats.sql | 57 ---
.../dashboard/sql/gpdb_5.0_plus/locks.sql | 23 --
.../static/js/sqleditor/query_tool_preferences.js | 2 +-
web/pgadmin/tools/sqleditor/static/js/sqleditor.js | 2 +-
.../sqleditor/sql/gpdb_5.0_plus/explain_plan.sql | 1 -
.../tools/sqleditor/tests/test_encoding_charset.py | 1 -
.../sqleditor/tests/test_explain_plan_templates.py | 43 ---
.../sqleditor/tests/test_sql_ascii_encoding.py | 1 -
.../tools/sqleditor/tests/test_view_data.py | 1 -
.../utils/tests/test_apply_explain_plan_wrapper.py | 30 --
web/pgadmin/utils/compile_template_name.py | 6 +-
.../gpdb_5.0_plus/some_action_with_gpdb_5_0.sql | 1 -
.../utils/tests/test_compile_template_name.py | 9 -
.../utils/tests/test_versioned_template_loader.py | 70 ----
web/pgadmin/utils/versioned_template_loader.py | 7 -
.../external_tables/external_tables_spec.js | 56 ---
.../schemas/tables/show_advanced_tab_spec.js | 64 ---
.../javascript/fake_supported_servers.js | 1 -
web/regression/python_test_utils/test_utils.py | 6 +-
297 files changed, 13 insertions(+), 4881 deletions(-)

Browse pgadmin-hackers by date

  From Date Subject
Next Message Aditya Toshniwal 2021-09-09 08:31:11 [pgAdmin][patch] Fix pgAdmin error after react branch merge
Previous Message Akshay Joshi 2021-09-09 07:58:38 pgAdmin 4 commit: Port Procedure and Function node to react. Fixes #663