Skip to content

pg_config Location #2

@theory

Description

@theory

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions