Re: Patch to add hook to copydir()

From: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
To: Swen Kooij <swenkooij(at)gmail(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Patch to add hook to copydir()
Date: 2019-09-03 06:48:29
Message-ID: b0685e68-d324-7ce4-2b02-5a361d4b22dc@2ndquadrant.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2019-09-03 07:24:14 Re: Unix-domain socket support on Windows
Previous Message Dilip Kumar 2019-09-03 06:41:38 Re: block-level incremental backup