From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZST
Date: Tue, 15 Mar 2022 17:19:47 +0000
Message-ID: <E1nUApn-000CRi-Le@gemulon.postgresql.org> (raw)
Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZSTD.
These tests were added recently, but older code tests USE_LZ4 rathr
than HAVE_LIBLZ4, so let's follow the established precedent. It
also seems more consistent with the intent of the configure tests,
since I think that the USE_* symbols are intended to correspond to
what the user requested, and the HAVE_* symbols to what configure
found while probing.
Discussion: http://postgr.es/m/CA+Tgmoap+hTD2-QNPJLH4tffeFE8MX5+xkbFKMU3FKBy=ZSNKA@mail.gmail.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/75eae090876f4d47bf6a1e1016627b75da612307
Modified Files
--------------
src/backend/replication/basebackup_lz4.c | 8 ++++----
src/backend/replication/basebackup_zstd.c | 8 ++++----
src/bin/pg_basebackup/bbstreamer_lz4.c | 12 ++++++------
src/bin/pg_basebackup/bbstreamer_zstd.c | 12 ++++++------
src/bin/pg_basebackup/pg_receivewal.c | 6 +++---
src/bin/pg_basebackup/t/020_pg_receivewal.pl | 2 +-
src/bin/pg_basebackup/walmethods.c | 20 ++++++++++----------
src/bin/pg_dump/t/002_pg_dump.pl | 2 +-
src/bin/pg_verifybackup/t/008_untar.pl | 4 ++--
src/bin/pg_verifybackup/t/009_extract.pl | 4 ++--
src/bin/pg_verifybackup/t/010_client_untar.pl | 4 ++--
11 files changed, 41 insertions(+), 41 deletions(-)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: rhaas@postgresql.org
Subject: Re: pgsql: Change HAVE_LIBLZ4 and HAVE_LIBZSTD tests to USE_LZ4 and USE_ZST
In-Reply-To: <E1nUApn-000CRi-Le@gemulon.postgresql.org>
References: <E1nUApn-000CRi-Le@gemulon.postgresql.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox