On Wed, Feb 08, 2023 at 08:00:00PM +0530, Bharath Rupireddy wrote:
> +                     /*
> +                      * We read some of the requested bytes. Continue to 
> read remaining
> +                      * bytes.
> +                      */
> +                     ptr += nread;
> +                     nbytes -= nread;
> +                     dst += nread;
> +                     *read_bytes += nread;

Why do we only read a page at a time in XLogReadFromBuffersGuts()?  What is
preventing us from copying all the data we need in one go?

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com


Reply via email to