pgsql: pg_basebackup: Try to fix some failures on Windows.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: pg_basebackup: Try to fix some failures on Windows.
Дата
Msg-id E1nX4lD-00139D-JG@gemulon.postgresql.org
обсуждение исходный текст
Список 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 по дате отправления:

Предыдущее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: Fix "missing continuation record" after standby promotion
Следующее
От: Alvaro Herrera
Дата:
Сообщение: pgsql: pg_upgrade: Upgrade an Assert to a real 'if' test