pg_upgrade and ubuntu

Поиск
Список
Период
Сортировка
От Jonathan Vanasco
Тема pg_upgrade and ubuntu
Дата
Msg-id 60BB2C7C-6399-411C-AC7B-3F994215318D@2xlp.com
обсуждение исходный текст
Ответы Re: pg_upgrade and ubuntu  (David G Johnston <david.g.johnston@gmail.com>)
Re: pg_upgrade and ubuntu  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: pg_upgrade and ubuntu  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
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.




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

Предыдущее
От: John R Pierce
Дата:
Сообщение: Re: Two instances of Postgres with single data directory
Следующее
От: David G Johnston
Дата:
Сообщение: Re: pg_upgrade and ubuntu