Re: Btrfs clone WIP patch - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Btrfs clone WIP patch
Date
Msg-id 19182.1360797974@sss.pgh.pa.us
Whole thread Raw
In response to Re: Btrfs clone WIP patch  (Jonathan Rogers <jrogers@socialserve.com>)
List pgsql-hackers
Jonathan Rogers <jrogers@socialserve.com> writes:
> Would it be better to move clone_file() into its own module where
> implementations for other file system types might eventually be added?

Yeah, possibly.  I considered suggesting that the current code be
treated as a fallback implementation of clone_file, but I'm not sure
if there's a convenient way to manage the run-time fallback if we try
to do it like that.  In any case, +1 for leaving the door open for
easy addition of other cloning techniques.
        regards, tom lane



pgsql-hackers by date:

Previous
From: Phil Sorber
Date:
Subject: Re: Btrfs clone WIP patch
Next
From: Ian Lawrence Barwick
Date:
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement