Re: Patch to add hook to copydir() - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Patch to add hook to copydir()
Date
Msg-id b0685e68-d324-7ce4-2b02-5a361d4b22dc@2ndquadrant.com
Whole thread Raw
In response to Re: Patch to add hook to copydir()  (Swen Kooij <swenkooij@gmail.com>)
Responses Re: Patch to add hook to copydir()
List pgsql-hackers
On 2019-09-02 22:16, Swen Kooij wrote:
> Is there anything that I am missing? My early experiments have been
> very promising but my experience with Postgres internals is limited. Any
> help or feedback would be much appreciated.

You might want to review several previous threads that were
contemplating doing some reflink stuff with btrfs during database
creation.  Not exactly what you are doing, but related.

Also, wouldn't it work if your extension just defined its own copydir()
in the .so?  That should then be used over the built-in one -- maybe.

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: block-level incremental backup
Next
From: Peter Eisentraut
Date:
Subject: Re: Unix-domain socket support on Windows