From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Fix LZ4 tests for remaining buffer space. |
Date: | 2022-03-08 15:14:06 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | 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.
Branch
------
master
Modified Files
--------------
src/backend/replication/basebackup_lz4.c | 4 ++--
src/bin/pg_basebackup/bbstreamer_lz4.c | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-03-08 17:48:18 | pgsql: plpython: add missing plpython.h include to plpy_plpymodule.h |
Previous Message | Robert Haas | 2022-03-08 14:59:34 | pgsql: Add support for zstd base backup compression. |