pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #13621: Program paths are registered incorrectly.
3+ messages / 3 participants
[nested] [flat]

* BUG #13621: Program paths are registered incorrectly.
@ 2015-09-15 13:37 userob@gmail.com
  2015-09-15 18:52 ` Re: BUG #13621: Program paths are registered incorrectly. Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: userob@gmail.com @ 2015-09-15 13:37 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      13621
Logged by:          Eugene
Email address:      userob@gmail.com
PostgreSQL version: 9.4.4
Operating system:   Windows 8.1 Pro x64
Description:        

The 9.4.4 version for windows registers its paths in registry with "/"
instead of "\".


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13621: Program paths are registered incorrectly.
  2015-09-15 13:37 BUG #13621: Program paths are registered incorrectly. userob@gmail.com
@ 2015-09-15 18:52 ` Michael Paquier <michael.paquier@gmail.com>
  2015-09-16 11:11   ` Re: BUG #13621: Program paths are registered incorrectly. Userob <userob@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Michael Paquier @ 2015-09-15 18:52 UTC (permalink / raw)
  To: userob@gmail.com; +Cc: pgsql-bugs

On Tue, Sep 15, 2015 at 6:37 AM,  <userob@gmail.com> wrote:
> Bug reference:      13621
> Logged by:          Eugene
> Email address:      userob@gmail.com
> PostgreSQL version: 9.4.4
> Operating system:   Windows 8.1 Pro x64
> Description:
>
> The 9.4.4 version for windows registers its paths in registry with "/"
> instead of "\".

To which entries of the windows registry are you referring to and how
are you installing Postgres on Windows? Note that both slashes and
backslashes are compatible on Windows, so that's not really an issue
in any case whichever the ways those registry entries are used in your
environment and/or by the installer used.
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #13621: Program paths are registered incorrectly.
  2015-09-15 13:37 BUG #13621: Program paths are registered incorrectly. userob@gmail.com
  2015-09-15 18:52 ` Re: BUG #13621: Program paths are registered incorrectly. Michael Paquier <michael.paquier@gmail.com>
@ 2015-09-16 11:11   ` Userob <userob@gmail.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Userob @ 2015-09-16 11:11 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: pgsql-bugs

Environment: windows 8.1 pro x64 with no extra software installed.

Install the postgresql-9.4.4-3-windows.exe binary with default settings and
proceed with installing PostGIS extention (PostGIS 2.1 Bundle for
PostgreSQL 9.4 (32-bit v2.1.8) with Stack Builder.

On the Choose Intallation Location screen of PostGIS intallation (see
attached screnshot) the Destination Folder will be pre-filled with the
value from the PostgreSQL Base Directory registry key but you won't be able
to proceed unless you replace slashes with backslathes.

Probably this is a PostGIS installer issue because there is no such problem
with x64 PostgreSQL+PostGIS bundle although the Base directory is also
defined with slashes in the registry but is desplayed with backslashes on
the Choose Intallation Location screen of PostGIS installer.

Here is a the list of registry keys with slashes in the paths which are
created at program installation.
------------------------
[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\pgAdmin3.exe\shell\open\command]
@="\"C:/Program Files (x86)/PostgreSQL/9.4\\bin\\pgAdmin3.exe\" -q -f
\"%1\""

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall
\PostgreSQL 9.4]
"InstallLocation"="C:/Program Files (x86)/PostgreSQL/9.4"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PostgreSQL\Installations\postgresql-9.4]
"Base Directory"="C:/Program Files (x86)/PostgreSQL/9.4"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\PostgreSQL Global Development
Group\PostgreSQL]
"Location"="C:/Program Files (x86)/PostgreSQL/9.4"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application\PostgreSQL]
"EventMessageFile"="C:/Program Files (x86)/PostgreSQL/9.4\\lib\\pgevent.dll"
------------------------


The user of slashes instead of backslathes in the Base Directory key cause
an issue when installing PostG

2015-09-15 21:52 GMT+03:00 Michael Paquier <michael.paquier@gmail.com>:

> On Tue, Sep 15, 2015 at 6:37 AM,  <userob@gmail.com> wrote:
> > Bug reference:      13621
> > Logged by:          Eugene
> > Email address:      userob@gmail.com
> > PostgreSQL version: 9.4.4
> > Operating system:   Windows 8.1 Pro x64
> > Description:
> >
> > The 9.4.4 version for windows registers its paths in registry with "/"
> > instead of "\".
>
> To which entries of the windows registry are you referring to and how
> are you installing Postgres on Windows? Note that both slashes and
> backslashes are compatible on Windows, so that's not really an issue
> in any case whichever the ways those registry entries are used in your
> environment and/or by the installer used.
> --
> Michael
>

-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs

Attachments:

screenshot.png (image/png, 25.6K) download view image
^ permalink raw reply [nested|flat] 3+ messages in thread


end of thread, other threads:[~2015-09-16 11:11 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2015-09-15 13:37 BUG #13621: Program paths are registered incorrectly. userob@gmail.com
2015-09-15 18:52 ` Michael Paquier <michael.paquier@gmail.com>
2015-09-16 11:11   ` Userob <userob@gmail.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox