pgsql: Fix LZ4 tests for remaining buffer space.

Поиск
Список
Период
Сортировка
От Robert Haas
Тема pgsql: Fix LZ4 tests for remaining buffer space.
Дата
Msg-id E1nRbXJ-001Uew-Ju@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix LZ4 tests for remaining buffer space.

We should flush the buffer when the remaining space is less than
the maximum amount that we might need, not when it is less than or
equal to the maximum amount we might need.

Jeevan Ladhe, per an observation from me.

Discussion: http://postgr.es/m/CANm22CgVMa85O1akgs+DOPE8NSrT1zbz5_vYfS83_r+6nCivLQ@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1d4be6be65ab18aa3b240d9bc912ebece255c53b

Modified Files
--------------
src/backend/replication/basebackup_lz4.c | 4 ++--
src/bin/pg_basebackup/bbstreamer_lz4.c   | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Robert Haas
Дата:
Сообщение: pgsql: Add support for zstd base backup compression.
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: plpython: add missing plpython.h include to plpy_plpymodule.h