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

pg_config Location #2

Open
theory opened this issue Apr 26, 2024 · 0 comments
Open

pg_config Location #2

theory opened this issue Apr 26, 2024 · 0 comments

Comments

@theory
Copy link

theory commented Apr 26, 2024

Hello. I just tried to build pgbitmap on an Ubuntu system. It failed while running as root because the bin/find_pg_config script tries to connect to the database and there is no root user.

This seems a bit complicated. Most PGXS projects allow PG_CONFIG to be passed to the Makefile, and default to pg_config in the path. I suggest switching to either:

PG_CONFIG ?= pg_config

Or, if you want the full path:

PG_CONFIG ?= $(shell which pg_config)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant