mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
21 lines
573 B
Python
21 lines
573 B
Python
|
|
##########################################################################
|
||
|
|
#
|
||
|
|
# pgAdmin 4 - PostgreSQL Tools
|
||
|
|
#
|
||
|
|
# Copyright (C) 2013 - 2017, The pgAdmin Development Team
|
||
|
|
# This software is released under the PostgreSQL Licence
|
||
|
|
#
|
||
|
|
##########################################################################
|
||
|
|
|
||
|
|
from flask_babel import gettext
|
||
|
|
from pgadmin.browser.server_groups.servers.types import ServerType
|
||
|
|
|
||
|
|
|
||
|
|
class GPDB(ServerType):
|
||
|
|
def instanceOf(self, ver):
|
||
|
|
return "Greenplum Database" in ver
|
||
|
|
|
||
|
|
|
||
|
|
# Default Server Type
|
||
|
|
GPDB('gpdb', gettext("Greenplum Database"), 3)
|