using pg_dump version lower than server version

From: Saranya Sivakumar <sarlavk(at)yahoo(dot)com>
To: pgsqlnovice <pgsql-novice(at)postgresql(dot)org>
Subject: using pg_dump version lower than server version
Date: 2007-01-03 16:25:01
Message-ID: 20070103162502.25845.qmail@web51312.mail.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Hi All,

I am having trouble to dump a table on postgres 8.1.5 version using pg_dump 7.3/7.4.

I get the following message

pg_dump: server version: 8.1.5; pg_dump version: 7.4.14
pg_dump: proceeding despite version mismatch
pg_dump: SQL command failed
pg_dump: Error message from server: ERROR: column "datpath" does not exist
pg_dump: The command was: SELECT (SELECT usename FROM pg_user WHERE usesysid = datdba) as dba, pg_encoding_to_char(encoding) as encoding, datpath FROM pg_database WHERE datname = 'DBNAME'

I have tried dumping using the 8.1.5 version of pg_dump and restore using 7.3, but that gives errors too, and I have to manually edit and comment out the lines causing problem.

Is there a workaround for this?

Thanks
Saranya

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tom Lane 2007-01-03 16:37:51 Re: using pg_dump version lower than server version
Previous Message Bruno Wolff III 2007-01-02 17:12:57 Re: Write to file from pgplsql function