[Pkg-postgresql-public] pg_upgrade support in pg_upgradecluster

Christoph Berg myon at debian.org
Wed Jul 25 07:45:40 UTC 2012


Re: Peter Eisentraut 2012-07-24 <1343132716.18487.6.camel at fsopti579.F-Secure.com>
> First, invocation interface: I have used -m|--method={dump,copy,link},
> where dump is the existing method, and also the default, copy is
> pg_upgrade in copy mode, and link is pg_upgrade in link mode.  I'm not
> too happy with that, because it obscures that pg_upgrade is being
> used, and hides that copy and link are more closely related than dump.
> Maybe someone has a better idea.

What about this: ?

--dump
--upgrade
--upgrade-copy (alias for --upgrade)
--upgrade-link

(I was thinking about using --pg_upgrade because of the name of the
program, but then it would also be --pg_dump and then it looks silly.)

Or maybe this:

--method=dump
--method=upgrade
--upgrade-mode={copy,link}

Christoph
-- 
cb at df7cb.de | http://www.df7cb.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-postgresql-public/attachments/20120725/38b60432/attachment.pgp>


More information about the Pkg-postgresql-public mailing list