X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 5287BD1C50C for ; Thu, 31 Jul 2003 11:13:44 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 37480-09 for ; Thu, 31 Jul 2003 08:12:42 -0300 (ADT) Received: from hotmail.com (bay2-f56.bay2.hotmail.com [65.54.247.56]) by svr1.postgresql.org (Postfix) with ESMTP id EBFF7D1C4D7 for ; Thu, 31 Jul 2003 08:13:40 -0300 (ADT) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 31 Jul 2003 04:13:43 -0700 Received: from 202.63.107.19 by by2fd.bay2.hotmail.msn.com with HTTP; Thu, 31 Jul 2003 11:13:43 GMT X-Originating-IP: [202.63.107.19] X-Originating-Email: [m_vijaykumar@hotmail.com] From: "vijaykumar M" To: pgsql-sql@postgresql.org Subject: problem in database backup Date: Thu, 31 Jul 2003 11:13:43 +0000 Mime-Version: 1.0 Content-Type: text/html Message-ID: X-OriginalArrivalTime: 31 Jul 2003 11:13:43.0509 (UTC) FILETIME=[CD9E7850:01C35754] X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200307/484 X-Sequence-Number: 14598


Hi All,

I'm using Postgresql V7.3.3, on that i created one database with name "mydb".

 PostgreSQL 7.3.3 on i686-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7)

While taking a backup of my postgresql database, i'm getting the below error.

bash-2.05b$ pg_dump mydb >mydb.out
pg_dump: server version: SAGES/pg_dump.mo; pg_dump version: 7.2.2
pg_dump: aborting because of version mismatch  (Use the -i option to proceed any
================================================================

bash-2.05b$ pg_dump -i mydb > mydb.out
pg_dump: server version: SAGES/pg_dump.mo; pg_dump version: 7.2.2
pg_dump: proceeding despite version mismatch
pg_dump: query to obtain list of data types failed: ERROR:  Attribute "typprtlen" not found
==============================================================

After getting these errors, i tried to check the version of pg_dump on my system by using the below command. Here is the result .....

[root@sql-linux root]# find / -name pg_dump -print
/root/postgresql-7.3.3/src/bin/pg_dump
/root/postgresql-7.3.3/src/bin/pg_dump/pg_dump
/usr/bin/pg_dump
/usr/local/pgsql/bin/pg_dump

============================================================

Kindly guide me to solve this problem. ..

Thanks in advance,

With Regards,

Vijay

 

 

 

 

 



It's all happening @ F1. Feel the thrill! Race along right here!