pgbitmap icon indicating copy to clipboard operation
pgbitmap copied to clipboard

pg_config Location

Open theory opened this issue 1 year ago • 0 comments

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)

theory avatar Apr 26 '24 17:04 theory