Re: pg_ugprade use of --check and --link

From: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: pg_ugprade use of --check and --link
Date: 2013-06-06 14:24:30
Message-ID: 20130606142429.GB5107@eldon.alvh.no-ip.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Bruce Momjian wrote:
> In a private bug report, I have realized that if you are eventually
> going to be using link mode with pg_upgrade, and you run --check mode,
> you should use --link with --check to check that both clusters are on
> the same file system.

Would it make sense to run the filesystem check anyway, and if the
check fails say something like "this will fail in --link mode, although
copy mode might work" ?

--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2013-06-06 14:28:13 Re: all_visible replay aborting due to uninitialized pages
Previous Message Robert Haas 2013-06-06 14:22:14 Re: all_visible replay aborting due to uninitialized pages