![]() ![]() %s - %s ' % ( APP_RELEASE, APP_REVISION, APP_SUFFIX ) # Copyright string for display in the app APP_COPYRIGHT = 'Copyright (C) 2013 - 2023, The pgAdmin Development Team' # Misc stuff # Path to the online help. ![]() %s ' % ( APP_RELEASE, APP_REVISION ) else : APP_VERSION = ' %s. ![]() Should be in the format: # XYYZZ, where X is the release version, Y is the revision, with a leading # zero if needed, and Z represents the suffix, with a leading zero if needed APP_VERSION_INT = 70800 # DO NOT CHANGE! # The application version string, constructed from the components if not APP_SUFFIX : APP_VERSION = ' %s. APP_SUFFIX = '' # Numeric application version for upgrade checks. Usually an empty string # for GA releases. # Application version number components APP_RELEASE = 7 APP_REVISION = 8 # Application version suffix, e.g. CONFIG_DATABASE_CONNECTION_MAX_OVERFLOW = 100 from pgadmin.utils import env, IS_WIN, fs_short_path # Application settings # Name of the application to display in the UI APP_NAME = 'pgAdmin 4' APP_ICON = 'pg-icon' # Application settings # NOTE!!! # If you change any of APP_RELEASE, APP_REVISION or APP_SUFFIX, then you # must also change APP_VERSION_INT to match. ![]() CONFIG_DATABASE_CONNECTION_POOL_SIZE = 5 # The number of connections allowed to overflow beyond # the connection pool size. # Setting this to 0 will remove any limit. insert ( 0, root ) # The config database connection pool size. # -*- coding: utf-8 -*- # pgAdmin 4 - PostgreSQL Tools # Copyright (C) 2013 - 2023, The pgAdmin Development Team # This software is released under the PostgreSQL Licence # config.py - Core application configuration settings # import builtins import logging import os import sys # We need to include the root directory in sys.path to ensure that we can # find everything we need when running in the standalone runtime. %CommonProgramFiles%\pgadmin\config_system.py Library/Preferences/pgadmin/config_system.py The location for this file variesīased on the platform, and only needs to be created if desired. System-wide from a secure location that users cannot normally modify and that Intended for system administrators to include settings that are configured That they may wish to adjust to meet local preferences or standards.This file is optional,Īnd may be created by users in the same directory as config.py ifĬonfig_system.py: This file is read after config_local.py and is This file is optional,Īnd may be created by packagers in the same directory as config.py ifĬonfig_local.py: This file is read after config_distro.py and is intendedįor the owner of the installation to change any default or packaging specific settings This may typically include certain paths and file locations. Packagers to change any settings that are required for their pgAdmin distribution. It can be used as a reference for configuration settings, that may be overriddenĬonfig_distro.py: This file is read after config.py and is intended for Make sense to allow them to be changed through the user interface.Ĭonfig.py: This is the main configuration file, and should not be modified. System administrators may wish to control across an organisation to enforceĪre so rarely or unlikely to be changed that it doesn’t May be required to be set prior to startup of pgAdmin as they control how Theseįiles are used for configuration options that: There are multiple configuration files that are read at startup by pgAdmin. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |