Re: BUG #18040: PostgreSQL does not report its version correctly

From: Sandeep Thakkar <sandeep(dot)thakkar(at)enterprisedb(dot)com>
To: danikgoog(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org
Subject: Re: BUG #18040: PostgreSQL does not report its version correctly
Date: 2023-08-13 09:38:47
Message-ID: CANFyU95PQYribC8EKiP3oPEYN5vk6fJAu380re0f5+aO3HbNJQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Hi,

The PostgreSQL installer does not explicitly create the registry at
*HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall*. It's created
automatically by the InstallBuilder tool on adding Add/Remove programs. I
guess since the product version is defined as a major version so that
upgrades to minor versions are installed in the same installation
directory, the tool is not setting the minor versions. We will take this to
the InstallBuilder team on how this be handled, but do you think the winget
package manager can instead read the full version from
*HKLM:\SOFTWARE\PostgreSQL\Installations\postgresql-x64-14* ?

On Fri, Jul 28, 2023 at 2:53 AM PG Bug reporting form <
noreply(at)postgresql(dot)org> wrote:

> The following bug has been logged on the website:
>
> Bug reference: 18040
> Logged by: Daniil
> Email address: danikgoog(at)gmail(dot)com
> PostgreSQL version: 15.3
> Operating system: Windows
> Description:
>
> PostgreSQL does not report its version to Windows OS correctly as described
> here
>
> https://github.com/microsoft/winget-pkgs/issues/82335#issuecomment-1273640827
> (does not report minor versions) thus breaking things like Microsoft
> WinGet.
>
>

--
Sandeep Thakkar

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Alexander Lakhin 2023-08-13 13:00:01 Re: BUG #17950: Incorrect memory access in gtsvector_picksplit()
Previous Message PG Bug reporting form 2023-08-13 04:26:48 BUG #18054: Permission denied.