* Re: [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory
[not found] <i4w0x-w6-7@gated-at.bofh.it>
@ 2011-12-05 2:37 99% ` Gregory Shearman
0 siblings, 0 replies; 1+ results
From: Gregory Shearman @ 2011-12-05 2:37 UTC (permalink / raw
To: gentoo-user
In linux.gentoo.user, Joseph wrote:
> I'm upgrading form posgresql 9.0 to 9.1, it seem to the upgrade went OK but when try to transfer the data
> base:
> pg_upgrade91 -v --old-datadir=/var/lib/postgresql/9.0/data/ --new-datadir=/var/lib/postgresql/9.1/data
> --old-bindir=/usr/lib/postgresql-9.0/bin/ --new-bindir=/usr/lib/postgresql-9.1/bin/
> Running in verbose mode
> Performing Consistency Checks
> -----------------------------
> Checking current, bin, and data directories
> You must have read and write access in the current directory.
> Failure, exiting
>
> What am I doing wrong?
Have you checked that you have read and write access in the current
directory before running the command?
I did the upgrade as the "postgres" user and made sure that I ran the
command from a read/writable directory for that user.
--
Regards,
Gregory.
^ permalink raw reply [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
[not found] <i4w0x-w6-7@gated-at.bofh.it>
2011-12-05 2:37 99% ` [gentoo-user] pg_upgrade91 - You must have read and write access in the current directory Gregory Shearman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox