Re: add --transfer-mode to pg_upgrade

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Nathan Bossart <nathandbossart(at)gmail(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: add --transfer-mode to pg_upgrade
Date: 2026-12-04 09:12:45
Message-ID: 22D8B2D5-A03E-4DC6-894D-E92AABE1E76A@yesql.se
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 3 Dec 2026, at 17:01, Nathan Bossart <nathandbossart(at)gmail(dot)com> wrote:

> The closest thing to an
> objection I could find is Daniel's remark that multiple-choice parameters
> aren't a common pattern in our utilities [3], but we've since added
> --sync-method and --set-char-signedness, so I think that's less true than
> it used to be.

Agreed.

> In the same message, Daniel noted that we typically use a last-one-wins
> strategy for options that are specified more than once, so I didn't add any
> checks for conflicting options (e.g., --transfer-mode=clone overrides an
> earlier --link).

Last one wins is a property I think we should maintain, so +1 for that.

--
Daniel Gustafsson

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andrei Lepikhov 2026-12-04 09:13:17 Re: Use local buffer for packed numerics
Previous Message Kirill Reshke 2026-12-04 09:11:44 Re: several cases of float and integer mixup