当我通过postgres用户运行以下命令时,我会继续收到上述错误.
/usr/lib/postgresql/9.3/bin/pg_upgrade \ -b /usr/lib/postgresql/9.1/bin/ \ -B /usr/lib/postgresql/9.3/bin/ \ -d /var/lib/postgresql/9.1/main \ -D /var/lib/postgresql/9.3/main
cannot write to log file pg_upgrade_internal.log Failure,exiting
我使用的是Ubuntu 13.10. Postgresql 9.1和9.3都正常运行.