简体   繁体   English

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

[英]Cannot backup postgres with pg_dump on os x 10.9 due to version mismatch

I am getting 我正进入(状态

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

In my .bash_profile I have 在我的.bash_profile中,我有

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

In my .profile I have 在我的.profile中,我有

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

How do I force postgres to make a simple backup? 如何强制postgres进行简单备份?

I downloaded a new version of postgres 9.3.2 and now it is working. 我下载了新版本的postgres 9.3.2,现在可以使用了。 Not sure why, but better than 9.3.0. 不知道为什么,但是优于9.3.0。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM