I'm getting the following error when I'm trying to export my database...
pg_dump: server version: 9.3.1; pg_dump version: 9.1.11
pg_dump: aborting because of server version mismatch
The problem is I cannot update from 9.1.11 to 9.3.1 because of my ubuntu version on my client machine. I'm running Ubuntu 13.04 raring ringtail and as you can see in this distributions link the ultimate postgresql version for ubuntu is 12.04 precise pangolin.
Any possible solution? Thanks in advance!
As previously commented the solution is to use a
pg_dump
compatible with the server version. The alternatives are:pg_dump
from the server. This means you have to have a local or remote connection to server (via ssh for example)pg_dump
. Note that even pgAdmin includespg_dump
so you don't necessarily have to install PostgreSQL package on the client.