Re: file cloning in pg_upgrade and CREATE DATABASE - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: file cloning in pg_upgrade and CREATE DATABASE
Date
Msg-id 20181003014409.GC2609@paquier.xyz
Whole thread Raw
In response to Re: file cloning in pg_upgrade and CREATE DATABASE  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: file cloning in pg_upgrade and CREATE DATABASE  (Alvaro Herrera <alvherre@2ndquadrant.com>)
List pgsql-hackers
On Tue, Oct 02, 2018 at 10:35:02PM -0300, Alvaro Herrera wrote:
> I'm not clear what interface are you proposing.  Maybe they would just
> use the clone-or-fail mode, and note whether it fails?  If that's not
> it, please explain.

Okay.  What I am proposing is to not have any kind of automatic mode to
keep the code simple, with a new option called --transfer-mode, able to
do three things:
- "link", which is the equivalent of the existing --link.
- "copy", the default and the current behavior, which copies files.
- "clone", the new mode proposed in this thread.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: file cloning in pg_upgrade and CREATE DATABASE
Next
From: Alvaro Herrera
Date:
Subject: Re: file cloning in pg_upgrade and CREATE DATABASE