Extend sendFileWithContent() to handle custom content length in basebackup.c
sendFileWithContent() previously got the content length by using
strlen(), assuming that the content given is always a string. Some
patches are under discussion to pass binary contents to a base backup
stream, where an a
Hi,
On Sun, Nov 12, 2023 at 11:36:58PM +, Michael Paquier wrote:
> Extend sendFileWithContent() to handle custom content length in basebackup.c
> [...]
> The patch extends sendFileWithContent() to be able to handle this case,
> where len < 0 can be used to indicate an arbitrary length rather t
On Mon, Nov 13, 2023 at 08:53:45AM +0800, Julien Rouhaud wrote:
> Did you mean >= 0?
Indeed, thanks. The commit message got that the opposite way.
--
Michael
signature.asc
Description: PGP signature