mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
Remove GPDB support completely. Fixes #6692
This commit is contained in:
@@ -53,9 +53,6 @@ class JobModule(CollectionNodeModule):
|
||||
|
||||
conn = manager.connection()
|
||||
|
||||
if manager.server_type == 'gpdb':
|
||||
return False
|
||||
|
||||
status, res = conn.execute_scalar("""
|
||||
SELECT
|
||||
has_table_privilege(
|
||||
|
||||
@@ -76,10 +76,6 @@ def is_valid_server_to_run_pgagent(self):
|
||||
server_con = server_utils.connect_server(self, self.server_id)
|
||||
if not server_con["info"] == "Server connected.":
|
||||
raise Exception("Could not connect to server to add pgAgent job.")
|
||||
if "type" in server_con["data"]:
|
||||
if server_con["data"]["type"] == "gpdb":
|
||||
message = "pgAgent is not supported by Greenplum."
|
||||
return False, message
|
||||
return True, None
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user