mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-20 11:48:31 -06:00
Ensure external table node should be visible only for GPDB. Fixes #3548
This commit is contained in:
parent
ea787b30eb
commit
dd3c7c94e6
@ -25,6 +25,7 @@ Bug fixes
|
||||
| `Bug #3461 <https://redmine.postgresql.org/issues/3461>`_ - Ensure that refreshing a node also updates the Property list.
|
||||
| `Bug #3528 <https://redmine.postgresql.org/issues/3528>`_ - Handle connection errors properly in the query tool.
|
||||
| `Bug #3547 <https://redmine.postgresql.org/issues/3547>`_ - Make session implementation thread safe
|
||||
| `Bug #3548 <https://redmine.postgresql.org/issues/3548>`_ - Ensure external table node should be visible only for GPDB.
|
||||
| `Bug #3558 <https://redmine.postgresql.org/issues/3558>`_ - Fix sort/filter dialog editing issue.
|
||||
| `Bug #3561 <https://redmine.postgresql.org/issues/3561>`_ - Ensure sort/filter dialog should display proper message after losing database connection.
|
||||
| `Bug #3578 <https://redmine.postgresql.org/issues/3578>`_ - Ensure sql for Role should be visible in SQL panel for GPDB.
|
||||
|
@ -67,6 +67,7 @@ class ExternalTablesModule(CollectionNodeModule):
|
||||
|
||||
super(ExternalTablesModule, self).__init__(*args, **kwargs)
|
||||
self.max_ver = 0
|
||||
self.server_type = ['gpdb']
|
||||
|
||||
def get_nodes(self, gid, sid, did):
|
||||
yield self.generate_browser_collection_node(did)
|
||||
|
@ -33,6 +33,16 @@ class TestExternalTablesModule(BaseTestGenerator):
|
||||
),
|
||||
expected_result=False,
|
||||
)),
|
||||
('#BackendSupported When access the on a Postgres Plus Advance Server '
|
||||
'Database, it returns false',
|
||||
dict(
|
||||
test_type='backend-support',
|
||||
manager=dict(
|
||||
server_type='ppas',
|
||||
sversion=90100
|
||||
),
|
||||
expected_result=False,
|
||||
)),
|
||||
('#BackendSupported When access the on a GreenPlum Database, '
|
||||
'it returns true',
|
||||
dict(
|
||||
|
Loading…
Reference in New Issue
Block a user