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

Current PG FDW install script fails if pg_config in not in users path (on mac) #404

Closed
dboeke opened this issue Jan 2, 2024 · 0 comments · Fixed by #405
Closed

Current PG FDW install script fails if pg_config in not in users path (on mac) #404

dboeke opened this issue Jan 2, 2024 · 0 comments · Fixed by #405
Assignees
Labels
bug Something isn't working standalone Issues related to steampipe anywhere standalone FDW

Comments

@dboeke
Copy link

dboeke commented Jan 2, 2024

The default installations of postgres for mac (Brew and Binary Download) do not put the postgres bin folder in the path. our install script has this line:

PG_CONFIG=$(command -v pg_config)

if pg_config is not in the path, that command exits with script without an error. I was able to work around by using:

if command -v pg_config >/dev/null; then
PG_CONFIG=$(command -v pg_config)
fi

which allows the script to run correctly.

@dboeke dboeke added the bug Something isn't working label Jan 2, 2024
@pskrbasu pskrbasu added the standalone Issues related to steampipe anywhere standalone FDW label Jan 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working standalone Issues related to steampipe anywhere standalone FDW
Projects
None yet
2 participants