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

From: Christoph Berg <myon(at)debian(dot)org>
To: Michael Paquier <michael(at)paquier(dot)xyz>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: pgsql: Add TAP test to automate the equivalent of check_guc
Date: 2022-02-12 08:49:18
Message-ID: Ygd0jsxHreT1cig0@msg.df7cb.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers

Re: Michael Paquier
> On Fri, Feb 11, 2022 at 10:48:11AM +0100, Christoph Berg wrote:
> > It never caused any problem in the 12+ years we have been doing this,
> > but Debian is patching pg_config not to be relocatable since we are
> > installing into /usr/lib/postgresql/NN /usr/share/postgresql/NN, so
> > not a single prefix.
> >
> > https://salsa.debian.org/postgresql/postgresql/-/blob/15/debian/patches/50-per-version-dirs.patch
>
> Wow. This is the way for Debian to bypass the fact that ./configure
> is itself patched, hence you cannot rely on things like --libdir,
> --bindir and the kind at build time? That's.. Err.. Fancy, I'd
> say.

--libdir and --bindir will point at the final install locations.

I think the "bug" here is that vanilla PG doesn't support installing
in FHS locations with /usr/lib and /usr/share split, hence the Debian
patch.

Christoph

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2022-02-12 12:24:46 Re: pgsql: Add suport for server-side LZ4 base backup compression.
Previous Message Michael Paquier 2022-02-12 04:38:45 Re: pgsql: Add suport for server-side LZ4 base backup compression.

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Lakhin 2022-02-12 10:00:00 Re: Why is src/test/modules/committs/t/002_standby.pl flaky?
Previous Message Shinoda, Noriyoshi (PN Japan FSIP) 2022-02-12 06:01:15 RE: refactoring basebackup.c