Re: Unable to upgrade old cluster from 8.4 to 9.0
От | Bruce Momjian |
---|---|
Тема | Re: Unable to upgrade old cluster from 8.4 to 9.0 |
Дата | |
Msg-id | 201009231623.o8NGNY011721@momjian.us обсуждение исходный текст |
Ответ на | Re: Unable to upgrade old cluster from 8.4 to 9.0 (Thom Brown <thom@linux.com>) |
Список | pgsql-general |
Thom Brown wrote: > On 23 September 2010 10:51, Boris <sw0rdf1sh_i@yahoo.com> wrote: > > Hello, > > > > I have Debian Linux (unstable) server, and I am trying to upgrade 8.4 version > > database to 9.0, all developer packages for both versions were installed, as > > well as client ( postgresql-server-dev-8.4 > > postgresql-client-8.4 postgresql-server-dev-9.0 postgresql-client-9.0). > > > > Here is the command I use > > > > /usr/lib/postgresql/9.0/bin/pg_upgrade -d -c /var/lib/postgresql/8.4/main/ -D > > /var/lib/postgresql/9.0/main/ -b /usr/lib/postgresql/8.4/bin/ -B > > /usr/lib/postgresql/9.0/bin/ --user=postgres > > The -d and -c options appear to be the wrong way round. Looks like > you're passing -c as the parameter for -d. Yep, that is it. In fact the error message confirms it: Checking old data directory (-c) check for base failed: No such file or directory It thinks the old data directory is "-c". -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +
В списке pgsql-general по дате отправления: