pgadmin4/web/pgadmin/browser/server_groups/servers/ppas.py

27 lines
804 B
Python
Raw Normal View History

##########################################################################
#
# pgAdmin 4 - PostgreSQL Tools
#
2024-01-01 02:43:48 -06:00
# Copyright (C) 2013 - 2024, The pgAdmin Development Team
# This software is released under the PostgreSQL Licence
#
##########################################################################
2016-01-18 08:48:14 -06:00
from flask_babel import gettext
from pgadmin.browser.server_groups.servers.types import ServerType
class PPAS(ServerType):
UTILITY_PATH_LABEL = gettext("EDB Advanced Server Binary Path")
UTILITY_PATH_HELP = gettext(
"Path to the directory containing the EDB Advanced Server utility"
" programs (pg_dump, pg_restore etc)."
)
def instance_of(self, ver=None):
return "EnterpriseDB" in ver
2016-06-21 08:21:06 -05:00
# Default Server Type
2016-06-17 08:35:16 -05:00
PPAS('ppas', gettext("EDB Advanced Server"), 2)