Checking for newer versions online in pgAdmin4 3.3
Checking for newer versions online in pgAdmin4 3.3
От:
Igor Neyman <ineyman@perceptron.com>
Дата:
Hello,
When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running.
How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access.
Regards,
Igor Neyman
Re: Checking for newer versions online in pgAdmin4 3.3
От:
Dave Page <dpage@pgadmin.org>
Дата:
Hi On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman wrote: > > Hello, > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access. Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the following line to that file: UPGRADE_CHECK_ENABLED = False -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
RE: Checking for newer versions online in pgAdmin4 3.3
От:
Igor Neyman <ineyman@perceptron.com>
Дата:
-----Original Message----- From: Dave Page [mailto:dpage@pgadmin.org] Sent: Monday, January 21, 2019 11:49 AM To: Igor Neyman Cc: pgadmin-support@lists.postgresql.org Subject: Re: Checking for newer versions online in pgAdmin4 3.3 Hi On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman wrote: > > Hello, > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access. Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the following line to that file: UPGRADE_CHECK_ENABLED = False -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company ___________________________________________________________________________________________ Dave, Thank you so much. It worked. Is it mentioned any were in the docs? Regards, Igor Neyman
Re: Checking for newer versions online in pgAdmin4 3.3
От:
Dave Page <dpage@pgadmin.org>
Дата:
On Mon, Jan 21, 2019 at 5:02 PM Igor Neyman wrote: > > -----Original Message----- > From: Dave Page [mailto:dpage@pgadmin.org] > Sent: Monday, January 21, 2019 11:49 AM > To: Igor Neyman > Cc: pgadmin-support@lists.postgresql.org > Subject: Re: Checking for newer versions online in pgAdmin4 3.3 > > Hi > > On Mon, Jan 21, 2019 at 4:31 PM Igor Neyman wrote: > > > > Hello, > > > > > > > > When pgAdmin4 starts, it checks online if there is a version that is newer than the currently installed/running. > > > > > > > > How can I disable this feature in release 3.3? Let’s say the machine, I’m starting pgAdmin on, doesn’t have internet access. > > Create (or edit if it exists) a file called config_local.py alongside config.py in your installation. Add the following line to that file: > > UPGRADE_CHECK_ENABLED = False > > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company > ___________________________________________________________________________________________ > > Dave, > > Thank you so much. It worked. > Is it mentioned any were in the docs? Only indirectly. The docs on Desktop mode and Server mode both describe the config files and how you can override settings etc. and that config.py can be used as a reference. I grant you that's not overly easy to figure out in response to a query like yours though. Patches are always welcome of course :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company
RE: Checking for newer versions online in pgAdmin4 3.3
От:
Igor Neyman <ineyman@perceptron.com>
Дата:
On Mon, Jan 21, 2019 at 5:02 PM Igor Neyman wrote: > > > Thank you so much. It worked. > Is it mentioned any were in the docs? Only indirectly. The docs on Desktop mode and Server mode both describe the config files and how you can override settings etc. and that config.py can be used as a reference. I grant you that's not overly easy to figure out in response to a query like yours though. Patches are always welcome of course :-) -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company __________________________________________________________________________ You are probably right. I should have looked inside config.py, then I'd seen that setting. Thanks again, Igor N.