I have 2 versions of Postgres server 7.2 & 7.3.4 installed on Linux server 7.3. I have not started the Postgres Server 7.2 which is located at /var/library/pgsql.
I am running and using only 7.3.4 located at /usr/local/pgsql.
After I login, I come to the /usr/local/pgsql/bin and then issued the following
[usr1@Linuxsvr bin]$ pg_dump -h 192.168.2.51 -f /home/usr1/prod.sql prod pg_dump: server version: pg_dump.mo; pg_dump version: 7.2.1 pg_dump: aborting because of version mismatch (Use the -i option to proceed anyway.) [usr1@Linuxsvr bin]$ pg_dump -h 192.168.2.51 -i -f /home/usr1/prod.sql prod
pg_dump: server version: pg_dump.mo; pg_dump version: 7.2.1 pg_dump: proceeding despite version mismatch pg_dump: query to obtain list of data types failed: ERROR: Attribute "typprtlen" not foun d [usr1@Linuxsvr bin]$