Re: pg_migrator issue with contrib

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_migrator issue with contrib
Дата
Msg-id 24421.1244475353@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_migrator issue with contrib  (Bruce Momjian <bruce@momjian.us>)
Ответы Re: pg_migrator issue with contrib  (Bruce Momjian <bruce@momjian.us>)
Список pgsql-hackers
Bruce Momjian <bruce@momjian.us> writes:
> Tom Lane wrote:
>> I think that #1 and #4 could be substantially alleviated if the
>> instructions recommended doing a trial run with a schema-only dump
>> of the database.  That is,
>> 
>> * pg_dumpall -s
>> * load that into a test installation (of the *old* PG version)
>> * migrate the test installation to new PG version
>> * do the same sorts of applications compatibility checks you'd want to
>> do anyway before a major version upgrade

> But you have no data in the database --- can any meaningful testing be
> done?

Well, you'd have to insert some.  But this is something you'd have to do
*anyway*, unless you are willing to just pray that your apps don't need
any changes.  The only new thing I'm suggesting here is incorporating
use of pg_migrator into your normal compatibility testing.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_migrator issue with contrib
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_migrator issue with contrib