Gentoo Archives: gentoo-user

From: Joseph <syscon780@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory
Date: Mon, 05 Dec 2011 01:53:54
Message-Id: 20111205015227.GA20122@syscon2.inet
1 I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but when try to transfer the data
2 base:
3 pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ --new-datadir=/var/lib/postgresql/9.1/data
4 --old-bindir=/usr/lib/postgresql-9.0/bin/ --new-bindir=/usr/lib/postgresql-9.1/bin/
5 Running in verbose mode
6 Performing Consistency Checks
7 -----------------------------
8 Checking current, bin, and data directories
9 You must have read and write access in the current directory.
10 Failure, exiting
11
12 What am I doing wrong?
13 Is it a bug?
14 http://postgresql.1045698.n5.nabble.com/Problem-with-pg-upgrade-s-directory-write-check-on-Windows-td4626004.html
15
16 --
17 Joseph