Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: psql not linked in herd's bin dir on Windows #1133

Closed
nie7321 opened this issue Nov 5, 2024 · 1 comment
Closed

[Bug]: psql not linked in herd's bin dir on Windows #1133

nie7321 opened this issue Nov 5, 2024 · 1 comment

Comments

@nie7321
Copy link

nie7321 commented Nov 5, 2024

Platform

Windows

Operating system version

Windows 10

System architecture

Intel (x86)

Herd Version

1.11.2

PHP Version

PHP 8.3

Bug description

On MacOS, after installing Postgres, the psql command is linked in the bin folder. This puts the correct psql command into my $PATH.

On Windows, the psql command is in ~/.config/herd/bin/services/postgresql/16/bin. This is not part of the $PATH, which makes scripting things like creating DBs harder.

It would be ideal for herd to include the binary in the $PATH on all supported OSes. This makes supporting a heterogeneous environment easier.

Steps to reproduce

Install Herd, activate pro, and install a postgres service. On MacOS, post-install, run psql. On Windows, post-install, run psql. Note the different results.

Relevant log output

No response

@sschlein
Copy link
Member

Thanks, I am closing this because it's a duplicate of #1060

@sschlein sschlein closed this as not planned Won't fix, can't repro, duplicate, stale Nov 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants