pg_upgrade: Add --copy option
authorPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Dec 2022 16:49:59 +0000 (17:49 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Fri, 16 Dec 2022 17:32:02 +0000 (18:32 +0100)
commit746915c6866953506379e996ce5198bc9e9e5b94
treebdce58c1c866c93225748830f7a8e83d03cf0aa0
parent59346209a839dfc627dd7986af3a6a8349c7ea0f
pg_upgrade: Add --copy option

This option selects the default transfer mode.  Having an explicit
option is handy to make scripts and tests more explicit.  It also
makes it easier to talk about a "copy" mode rather than "the default
mode" or something like that, since until now the default mode didn't
have an externally visible name.

Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/50a97009-8ff9-ca4d-a0f6-6086a6775a5b%40enterprisedb.com
doc/src/sgml/ref/pgupgrade.sgml
src/bin/pg_upgrade/option.c