Re: Btrfs clone WIP patch

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Jonathan Rogers <jrogers(at)socialserve(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Btrfs clone WIP patch
Date: 2013-02-13 23:26:14
Message-ID: 19182.1360797974@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Jonathan Rogers <jrogers(at)socialserve(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ian Lawrence Barwick 2013-02-13 23:34:42 Re: proposal or just idea for psql - show first N rows from relation backslash statement
Previous Message Phil Sorber 2013-02-13 23:04:01 Re: Btrfs clone WIP patch