pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools
3+ messages / 3 participants
[nested] [flat]

* BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools
@ 2023-01-11 23:37  PG Bug reporting form <noreply@postgresql.org>
  0 siblings, 2 replies; 3+ messages in thread

From: PG Bug reporting form @ 2023-01-11 23:37 UTC (permalink / raw)
  To: pgsql-bugs@lists.postgresql.org; +Cc: jeff.laing@synchronoss.com

The following bug has been logged on the website:

Bug reference:      17747
Logged by:          Jeff Laing
Email address:      jeff.laing@synchronoss.com
PostgreSQL version: 15.1
Operating system:   Windows
Description:        

Our environment launches psql.exe via an intermediary application which
locates it by scanning the registry.

When a full installation of PostgreSQL is present, the
HKLM\SOFTWARE\PostgreSQL\Installations\postgresql-x64-14\Base Directory
value can be retrieved and the full path to psql.exe determined.

If a command-line-tools-only installation was used, this registry value is
not populated.



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

* RE: BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools
@ 2023-01-11 23:42  Jeff Laing <Jeff.Laing@synchronoss.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Jeff Laing @ 2023-01-11 23:42 UTC (permalink / raw)
  To: Jeff Laing <Jeff.Laing@synchronoss.com>; pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>

To be clear, we scan ALL registry keys under HKLM\SOFTWARE\PostgreSQL\Installations\ and launch the psql.exe that is located in the HIGHEST version.

I'm not reporting that installing 15.1 does not populate the 14 keys.

The perils of cut/pasting from a live RegEdit session...

From: PG Bug reporting form <noreply@postgresql.org>
Sent: Thursday, 12 January 2023 10:37 AM
To: pgsql-bugs@lists.postgresql.org
Cc: Jeff Laing <Jeff.Laing@synchronoss.com>
Subject: BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools

The following bug has been logged on the website: Bug reference: 17747 Logged by: Jeff Laing Email address: jeff.laing@synchronoss.com<mailto:jeff.laing@synchronoss.com> PostgreSQL version: 15.1 Operating system: Windows Description: O
Caution: External (noreply@postgresql.org<mailto:noreply@postgresql.org>)
First-Time Sender   Details<https://protection.inkyphishfence.com/details?id=c3luY2hyb25vc3MvamVmZi5sYWluZ0BzeW5jaHJvbm9zcy5jb20...;
  Report This Email<https://protection.inkyphishfence.com/report?id=c3luY2hyb25vc3MvamVmZi5sYWluZ0BzeW5jaHJvbm9zcy5jb20v...;  FAQ<https://www.inky.com/banner-faq;  Protection by INKY<https://www.inky.com/protection-by-inky;


The following bug has been logged on the website:



Bug reference:      17747

Logged by:          Jeff Laing

Email address:      jeff.laing@synchronoss.com<mailto:jeff.laing@synchronoss.com>

PostgreSQL version: 15.1

Operating system:   Windows

Description:



Our environment launches psql.exe via an intermediary application which

locates it by scanning the registry.



When a full installation of PostgreSQL is present, the

HKLM\SOFTWARE\PostgreSQL\Installations\postgresql-x64-14\Base Directory

value can be retrieved and the full path to psql.exe determined.



If a command-line-tools-only installation was used, this registry value is

not populated.

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

* Re: BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools
@ 2023-01-12 08:14  Julien Rouhaud <rjuju123@gmail.com>
  parent: PG Bug reporting form <noreply@postgresql.org>
  1 sibling, 0 replies; 3+ messages in thread

From: Julien Rouhaud @ 2023-01-12 08:14 UTC (permalink / raw)
  To: jeff.laing@synchronoss.com; pgsql-bugs@lists.postgresql.org

Hi,

On Wed, Jan 11, 2023 at 11:37:25PM +0000, PG Bug reporting form wrote:
> The following bug has been logged on the website:
>
> Our environment launches psql.exe via an intermediary application which
> locates it by scanning the registry.
>
> When a full installation of PostgreSQL is present, the
> HKLM\SOFTWARE\PostgreSQL\Installations\postgresql-x64-14\Base Directory
> value can be retrieved and the full path to psql.exe determined.
>
> If a command-line-tools-only installation was used, this registry value is
> not populated.

Installers are handled outside of the project.  I believe this is EDB
installer, so this is something you will have to address directly with them (or
with the company that produces the installer you're using).





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


end of thread, other threads:[~2023-01-12 08:14 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2023-01-11 23:37 BUG #17747: Registry entry "Base Directory" is not populated if you only install Command-line tools PG Bug reporting form <noreply@postgresql.org>
2023-01-11 23:42 ` Jeff Laing <Jeff.Laing@synchronoss.com>
2023-01-12 08:14 ` Julien Rouhaud <rjuju123@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