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

516 Views Asked by At

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

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

In my .profile I have

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

How do I force postgres to make a simple backup?

1

There are 1 best solutions below

0
On

I downloaded a new version of postgres 9.3.2 and now it is working. Not sure why, but better than 9.3.0.