pgsql: pg_basebackup: Try to fix some failures on Windows. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: pg_basebackup: Try to fix some failures on Windows.
Date
Msg-id E1nX4lD-00139D-JG@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
pg_basebackup: Try to fix some failures on Windows.

Commit ffd53659c46a54a6978bcb8c4424c1e157a2c0f1 messed up the
mechanism that was being used to pass parameters to LogStreamerMain()
on Windows. It worked on Linux because only Windows was using threads.
Repair by moving the additional parameters added by that commit into
the 'logstreamer_param' struct.

Along the way, fix a compiler warning on builds without HAVE_LIBZ.

Discussion: http://postgr.es/m/CA+TgmoY5=AmWOtMj3v+cySP2rR=Bt6EGyF_joAq4CfczMddKtw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/591767150f5f91ccc3614e71977c47ce7a68786b

Modified Files
--------------
src/backend/replication/basebackup_gzip.c |  3 +--
src/bin/pg_basebackup/pg_basebackup.c     | 14 ++++++++------
2 files changed, 9 insertions(+), 8 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Fix "missing continuation record" after standby promotion
Next
From: Alvaro Herrera
Date:
Subject: pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test