Thread: BUG #15453: Installer registers with major version only

BUG #15453: Installer registers with major version only

From
PG Bug reporting form
Date:
The following bug has been logged on the website:

Bug reference:      15453
Logged by:          Dirk Heinrichs
Email address:      dirk.heinrichs@altum.de
PostgreSQL version: 10.5
Operating system:   Windows
Description:

The EDB Windows installer says it installs version 10.5, but once installed
the list of installed packages (Control Panel\All Control Panel
Items\Programs and Features) only shows a version of 10. This makes it quite
hard for configuration management systems like Salt or Puppet to decide
whether a minor version update needs to be executed or not. Because of this,
Windows installers should always register the exact version number for the
package.


Re: BUG #15453: Installer registers with major version only

From
Sandeep Thakkar
Date:
Yes, all 10.x will skip the minor version in $installdir name and the registry keys so that they are all installed in the same installation location and are considered as updates. Only major versions are installed side-by-side. That is how installbuilder behaves.

Can you please elaborate the issue?

On Tue, Oct 23, 2018 at 3:22 PM PG Bug reporting form <noreply@postgresql.org> wrote:
The following bug has been logged on the website:

Bug reference:      15453
Logged by:          Dirk Heinrichs
Email address:      dirk.heinrichs@altum.de
PostgreSQL version: 10.5
Operating system:   Windows
Description:       

The EDB Windows installer says it installs version 10.5, but once installed
the list of installed packages (Control Panel\All Control Panel
Items\Programs and Features) only shows a version of 10. This makes it quite
hard for configuration management systems like Salt or Puppet to decide
whether a minor version update needs to be executed or not. Because of this,
Windows installers should always register the exact version number for the
package.



--
Sandeep Thakkar


Re: BUG #15453: Installer registers with major version only

From
Dirk Heinrichs
Date:
Am 29.10.2018 um 09:22 schrieb Sandeep Thakkar:

> Can you please elaborate the issue?

The issue is that the version registered in Windows is wrong. It's 10,
not 10.5, which leads to automated provisioning tools (Salt, Puppet,
etc.) not doing an update from lets say 10.4 to 10.5, because both
report version 10. Such tools rely on exact version information.

Bye...

    Dirk

--
Dirk Heinrichs <dirk.heinrichs@altum.de>
GPG Public Key: D01B367761B0F7CE6E6D81AAD5A2E54246986015
Sichere Internetkommunikation: http://www.retroshare.org
Privacy Handbuch: https://www.privacy-handbuch.de



Attachment