Re: sendFileWithContent() does not advance the source pointer

From: Andres Freund <andres(at)anarazel(dot)de>
To: Antonin Houska <ah(at)cybertec(dot)at>, Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: sendFileWithContent() does not advance the source pointer
Date: 2022-12-08 21:53:18
Message-ID: 20221208215318.hqgmhtv4esdbvy3o@awork3.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2022-12-08 20:44:05 +0100, Antonin Houska wrote:
> When checking something else in the base backup code, I've noticed that
> sendFileWithContent() does not advance the 'content' pointer.

Oof. Luckily it looks like that is a relatively recent issue, introduced in
bef47ff85df, which is only in 15.

Greetings,

Andres Freund

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Paul Ramsey 2022-12-08 21:53:23 [PATCH] random_normal function
Previous Message David Rowley 2022-12-08 21:24:00 Re: Aggregate node doesn't include cost for sorting