Thread: BUG #15564: Setup sets wrong data type for value in Windows Registry

BUG #15564: Setup sets wrong data type for value in Windows Registry

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

Bug reference:      15564
Logged by:          Panagiotis Drivilas
Email address:      pdrivilas@gmail.com
PostgreSQL version: 11.1
Operating system:   Windows 10 Pro x64
Description:

Greetings,

I have noticed that the installation sets the following registry key:
HKEY_CURRENT_USER\Software\PostgreSQL\StackBuilder\Download Path

as REG_DWORD but writes to it as string.

Regedit shows for this key: (invalid DWORD (32-bit) value)
If you double click it shows the download path as binary data.

The same problem exists in PostgreSQL 10 installation in another machine
with Windows 10 Pro x64.

Best regards


Re: BUG #15564: Setup sets wrong data type for value in WindowsRegistry

From
Michael Paquier
Date:
On Mon, Dec 24, 2018 at 04:11:26AM +0000, PG Bug reporting form wrote:
> I have noticed that the installation sets the following registry key:
> HKEY_CURRENT_USER\Software\PostgreSQL\StackBuilder\Download Path
>
> as REG_DWORD but writes to it as string.
>
> Regedit shows for this key: (invalid DWORD (32-bit) value)
> If you double click it shows the download path as binary data.
>
> The same problem exists in PostgreSQL 10 installation in another machine
> with Windows 10 Pro x64.

Where does this installer come from?  EDB?  This code is handled out
of the main tree so you may want to reach out the maintainers
directly, though they usually look at this mailing list as well.
--
Michael

Attachment

Re: BUG #15564: Setup sets wrong data type for value in Windows Registry

From
Panagiotis Drivilas
Date:
The installer comes from EntepriseDB.

Best regards

On Tue, 25 Dec 2018 at 02:11, Michael Paquier <michael@paquier.xyz> wrote:
On Mon, Dec 24, 2018 at 04:11:26AM +0000, PG Bug reporting form wrote:
> I have noticed that the installation sets the following registry key:
> HKEY_CURRENT_USER\Software\PostgreSQL\StackBuilder\Download Path
>
> as REG_DWORD but writes to it as string.
>
> Regedit shows for this key: (invalid DWORD (32-bit) value)
> If you double click it shows the download path as binary data.
>
> The same problem exists in PostgreSQL 10 installation in another machine
> with Windows 10 Pro x64.

Where does this installer come from?  EDB?  This code is handled out
of the main tree so you may want to reach out the maintainers
directly, though they usually look at this mailing list as well.
--
Michael

Re: BUG #15564: Setup sets wrong data type for value in WindowsRegistry

From
Michael Paquier
Date:
On Wed, Dec 26, 2018 at 02:59:38AM +0200, Panagiotis Drivilas wrote:
> The installer comes from EntepriseDB.

Perhaps Sandeep can help then, I am adding him in CC, and he worked on
such bugs in the past, like here;
https://www.postgresql.org/message-id/31c9e8ed-3c76-7a1e-b1ba-b8c866b5b13d@orange.fr
--
Michael

Attachment

Re: BUG #15564: Setup sets wrong data type for value in Windows Registry

From
Sandeep Thakkar
Date:
Thanks, will get this fixed. It's coming from stack builder code rather than installer setting this registry key.

Sorry to respond late to this. 

On Wed, Dec 26, 2018 at 7:25 AM Michael Paquier <michael@paquier.xyz> wrote:
On Wed, Dec 26, 2018 at 02:59:38AM +0200, Panagiotis Drivilas wrote:
> The installer comes from EntepriseDB.

Perhaps Sandeep can help then, I am adding him in CC, and he worked on
such bugs in the past, like here;
https://www.postgresql.org/message-id/31c9e8ed-3c76-7a1e-b1ba-b8c866b5b13d@orange.fr
--
Michael


--
Sandeep Thakkar