git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7cf085f) | patch
Fix LZ4 tests for remaining buffer space.
Tue, 8 Mar 2022 15:05:55 +0000 (10:05 -0500)
Tue, 8 Mar 2022 15:05:55 +0000 (10:05 -0500)
commit 1d4be6be65ab18aa3b240d9bc912ebece255c53b
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
src/backend/replication/basebackup_lz4.c diff | blob | blame | history
src/bin/pg_basebackup/bbstreamer_lz4.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /