Re: pg_upgrade --logfile option documentation

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: pg_upgrade --logfile option documentation
Дата
Msg-id 20120228191530.GA14565@momjian.us
обсуждение исходный текст
Ответ на Re: pg_upgrade --logfile option documentation  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_upgrade --logfile option documentation  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
On Tue, Feb 28, 2012 at 01:24:45PM -0500, Robert Haas wrote:
> > Running this script will delete the old cluster's data files:
> >    /usr/local/pgdev/pg_upgrade/delete_old_cluster.sh
> 
> I think you should rename the old control file just before the step
> that says "linking user relation files".  That's the point after which
> it becomes unsafe to start the old cluster, right?

Yes, it is true that that is the danger point, and also it is much less
likely to fail at that point --- it usually happens during the schema
creation.  I would have to add some more conditional wording without
clearly stating if the old suffix is present.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql_fdw, FDW for PostgreSQL server
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: pg_upgrade --logfile option documentation