Re: RM 5235 - Support external config files

From: Ashesh Vashi <ashesh(dot)vashi(at)enterprisedb(dot)com>
To: Dave Page <dpage(at)pgadmin(dot)org>
Cc: pgadmin-hackers <pgadmin-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: RM 5235 - Support external config files
Date: 2020-07-17 10:23:06
Message-ID: CAG7mmowxAmfw_ZNJ6=QfMUUvML8U2dhR_uVA3hJ=o2ZGpo_Drw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-hackers

<http://www.linkedin.com/in/asheshvashi>
On Fri, Jul 17, 2020 at 3:45 PM Dave Page <dpage(at)pgadmin(dot)org> wrote:

> The attached patch adds support for config_system.py files stored outside
> of the application installation directory to allow sysadmins (and users
> with appropriate permissions) to override configuration options system wide
> and without invalidating signatures such as those found on the macOS app
> bundle.
>
> Configuration will be loaded from the following locations, if present:
>
> Linux: /etc/pgadmin/config_system.py
> macOS: /Library/Preferences/pgadmin/config_system.py
> Windows: %CommonProgramFiles%\pgadmin\config_system.py
>
> Please review/commit.
>
How about putting them in $HOME/.pgadmin/config_local.py (applicable only
for runtime)?

--

Thanks & Regards,

Ashesh Vashi
EnterpriseDB INDIA: Enterprise PostgreSQL Company
<http://www.enterprisedb.com>

*http://www.linkedin.com/in/asheshvashi*
<http://www.linkedin.com/in/asheshvashi>

>
> --
> Dave Page
> Blog: http://pgsnake.blogspot.com
> Twitter: @pgsnake
>
> EDB: http://www.enterprisedb.com
>
>

In response to

Responses

Browse pgadmin-hackers by date

  From Date Subject
Next Message Dave Page 2020-07-17 10:25:54 Re: RM 5235 - Support external config files
Previous Message Dave Page 2020-07-17 10:15:39 RM 5235 - Support external config files