1 |
In linux.gentoo.user, Joseph wrote: |
2 |
> I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but when try to transfer the data |
3 |
> base: |
4 |
> pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ --new-datadir=/var/lib/postgresql/9.1/data |
5 |
> --old-bindir=/usr/lib/postgresql-9.0/bin/ --new-bindir=/usr/lib/postgresql-9.1/bin/ |
6 |
> Running in verbose mode |
7 |
> Performing Consistency Checks |
8 |
> ----------------------------- |
9 |
> Checking current, bin, and data directories |
10 |
> You must have read and write access in the current directory. |
11 |
> Failure, exiting |
12 |
> |
13 |
> What am I doing wrong? |
14 |
|
15 |
Have you checked that you have read and write access in the current |
16 |
directory before running the command? |
17 |
|
18 |
I did the upgrade as the "postgres" user and made sure that I ran the |
19 |
command from a read/writable directory for that user. |
20 |
|
21 |
-- |
22 |
Regards, |
23 |
Gregory. |