2015-11-19 17:45:48 +00:00
|
|
|
##########################################################################
|
|
|
|
#
|
|
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
|
|
#
|
2016-01-18 14:48:14 +00:00
|
|
|
# Copyright (C) 2013 - 2016, The pgAdmin Development Team
|
2015-11-19 17:45:48 +00:00
|
|
|
# This software is released under the PostgreSQL Licence
|
|
|
|
#
|
|
|
|
##########################################################################
|
2016-01-18 14:48:14 +00:00
|
|
|
|
2015-11-19 17:45:48 +00:00
|
|
|
from flask.ext.babel import gettext
|
|
|
|
from pgadmin.browser.server_groups.servers.types import ServerType
|
|
|
|
|
|
|
|
|
|
|
|
class PPAS(ServerType):
|
|
|
|
|
|
|
|
def instanceOf(self, ver):
|
|
|
|
return ver.startswith("EnterpriseDB")
|
|
|
|
|
|
|
|
# Default Server Type
|
|
|
|
PPAS('ppas', gettext("Postgres Plus Advanced Server"), 2)
|