Re: pgsql: Add TAP test to automate the equivalent of check_guc - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: pgsql: Add TAP test to automate the equivalent of check_guc
Date
Msg-id YloVu8U0H2XlDU3T@paquier.xyz
Whole thread Raw
In response to Re: pgsql: Add TAP test to automate the equivalent of check_guc  (Christoph Berg <myon@debian.org>)
List pgsql-hackers
On Fri, Apr 15, 2022 at 04:49:28PM +0200, Christoph Berg wrote:
> Since build-time testing broke again about two weeks ago due to
> Debian's pg_config patch, I revisited the situation and found that the
> patch is in fact no longer necessary to support pg_config in /usr/bin:
>
> To support cross-compilation against libpq, some years ago I had
> already replaced /usr/bin/pg_config (in libpq-dev) with a perl script
> that collects path info at build time and outputs them statically at
> run time [1]. The "real" /usr/lib/postgresql/15/bin/pg_config (in
> postgresql-server-dev-15) is still the C version, now unpatched with
> full relocatability support.

Nice!  Thanks for letting us know, Christoph.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: "David G. Johnston"
Date:
Subject: Add version and data directory to initdb output
Next
From: Erik Rijkers
Date:
Subject: TRAP: FailedAssertion("tabstat->trans == trans", File: "pgstat_relation.c", Line: 508