由于版本不匹配,无法在os x 10.9上使用pg_dump备份postgres

时间:2014-02-27 18:52:01

标签: macos postgresql postgres.app

我正在

pg_dump: server version: 9.3.0; pg_dump version: 9.1.4
pg_dump: aborting because of server version mismatch

在我的.bash_profile中

export PATH=/Applications/Postgres.app/Contents/MacOS/bin:$PATH

在我的.profile中我有

:5432:*:postgres:root
PATH="/Applications/Postgres.app/Contents/Versions/9.3/bin:$PATH"

如何强制postgres进行简单备份?

1 个答案:

答案 0 :(得分:0)

我下载了postgres 9.3.2的新版本,现在它正在运行。不确定原因,但优于9.3.0。