2015-11-19 11:45:48 -06:00
|
|
|
##########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
2017-01-04 07:33:32 -06:00
|
|
|
# Copyright (C) 2013 - 2017, The pgAdmin Development Team
|
2015-11-19 11:45:48 -06:00
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
##########################################################################
|
2016-01-18 08:48:14 -06:00
|
|
|
|
2016-07-22 10:25:23 -05:00
|
|
|
from flask_babel import gettext
|
2015-11-19 11:45:48 -06:00
|
|
|
from pgadmin.browser.server_groups.servers.types import ServerType
|
|
|
|
|
|
|
|
|
|
|
|
class PPAS(ServerType):
|
|
|
|
def instanceOf(self, ver):
|
|
|
|
return ver.startswith("EnterpriseDB")
|
|
|
|
|
2016-06-21 08:21:06 -05:00
|
|
|
|
2015-11-19 11:45:48 -06:00
|
|
|
# Default Server Type
|
2016-06-17 08:35:16 -05:00
|
|
|
PPAS('ppas', gettext("EDB Advanced Server"), 2)
|