Re: pgsql: Add TAP test to automate the equivalent of check_guc

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Christoph Berg <myon@debian.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers@lists.postgresql.org
Date: 2022-04-16T01:02:51Z
Lists: 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

Commits

  1. Revert "Add TAP test to automate the equivalent of check_guc"

  2. Add TAP test to automate the equivalent of check_guc