Re: refactoring relation extension and BufferAlloc(), faster COPY - Mailing list pgsql-hackers

From John Naylor
Subject Re: refactoring relation extension and BufferAlloc(), faster COPY
Date
Msg-id CAFBsxsG2vw7ArjR-HafT42AXAGUcGfwUjcvCQDgz2pj-zRGYkg@mail.gmail.com
Whole thread Raw
In response to Re: refactoring relation extension and BufferAlloc(), faster COPY  (Andres Freund <andres@anarazel.de>)
List pgsql-hackers

On Wed, Apr 5, 2023 at 7:32 AM Andres Freund <andres@anarazel.de> wrote:

> > Portability nit: mdzeroextend() doesn't know whether posix_fallocate() was
> > used in FileFallocate().
>
> Fair point. I would however like to see a different error message for the two
> ways of extending, at least initially. What about referencing FileFallocate()?

Seems logical.

--
John Naylor
EDB: http://www.enterprisedb.com

pgsql-hackers by date:

Previous
From: David Rowley
Date:
Subject: Re: Option to not use ringbuffer in VACUUM, using it in failsafe mode
Next
From: Alexander Lakhin
Date:
Subject: Re: [PATCH] reduce page overlap of GiST indexes built using sorted method