Re: CREATE DATABASE with filesystem cloning - Mailing list pgsql-hackers

From Thomas Munro
Subject Re: CREATE DATABASE with filesystem cloning
Date
Msg-id CA+hUKG+B3AtxnN5iczEDSRVnnFZhjz04ip8wEDL0TQmxnHvy9w@mail.gmail.com
Whole thread Raw
In response to Re: CREATE DATABASE with filesystem cloning  (Nazir Bilal Yavuz <byavuz81@gmail.com>)
List pgsql-hackers
On Wed, Mar 26, 2025 at 12:47 AM Nazir Bilal Yavuz <byavuz81@gmail.com> wrote:
> Rebased version of the patch is attached.

I noticed that it wasn't working on a Mac I tested because
guc_tables.c needed to include <copyfile.h> and fixed that.  I also
did some minor editig of the docs, mostly removing the mention of
specific file systems because that's bound to be incomplete (it
already was to my knowledge) so I think it's better to simply say what
system calls it uses, since the effects will vary.

And pushed.  Thanks for working on this!  I think this might be a
popular feature for some users.



pgsql-hackers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: Re: Move tests of contrib/spi/ out of the core regression tests
Next
From: Andrei Lepikhov
Date:
Subject: Re: Some problems regarding the self-join elimination code