Re: pg_upgrade and ubuntu

Поиск
Список
Период
Сортировка
От David G Johnston
Тема Re: pg_upgrade and ubuntu
Дата
Msg-id 1415993477987-5827041.post@n5.nabble.com
обсуждение исходный текст
Ответ на Re: pg_upgrade and ubuntu  (David G Johnston <david.g.johnston@gmail.com>)
Ответы Re: pg_upgrade and ubuntu  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: pg_upgrade and ubuntu  (David G Johnston <david.g.johnston@gmail.com>)
Список pgsql-general
David G Johnston wrote
>
> Jonathan Vanasco-7 wrote
>> I ran into an issue migrating from 9.1 to 9.3 on ubuntu using pg_upgrade
>>
>> the default ubuntu package, and the one from postgresql.org, both store
>> `postgresql.conf` in etc as
>> `/etc/postgresql/VERSION/main/postgresql.conf`
>>
>> however, the pg_upgrade script expects it in the `datadir`.
>>
>> the simple solution seems to be just symlinking the /etc files into the
>> data dirs.
>>
>> it took me a while to realize this was the error.
>>
>> it might make sense to upgrade the docs with a note about what should be
>> in the data dir to enable an upgrade.
> https://wiki.postgresql.org/wiki/Using_pg_upgrade_on_Ubuntu/Debian
>
> It would make more sense for the Debian packagers people to write a
> pg_upgradecluster wrapper like they have done for the other key programs.
>
> David J.

Note it appears there is a pg_upgradecluster program, but it doesn't appear
to a wrapper for the official program...

David J.




--
View this message in context: http://postgresql.nabble.com/pg-upgrade-and-ubuntu-tp5827035p5827041.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.


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

Предыдущее
От: Adrian Klaver
Дата:
Сообщение: Re: pg_upgrade and ubuntu
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: pg_upgrade and ubuntu