Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 664CFB5DC3D for ; Wed, 2 Nov 2011 01:35:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 05222-08 for ; Wed, 2 Nov 2011 04:35:44 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from smtp192.iad.emailsrvr.com (smtp192.iad.emailsrvr.com [207.97.245.192]) by mail.postgresql.org (Postfix) with ESMTP id B5C51B5DC01 for ; Wed, 2 Nov 2011 01:35:43 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp49.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id AE62919055F; Wed, 2 Nov 2011 00:35:42 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp49.relay.iad1a.emailsrvr.com (Authenticated sender: support-AT-shakthiinnovators.com) with ESMTPSA id 287B6190317; Wed, 2 Nov 2011 00:35:40 -0400 (EDT) Message-ID: <003301cc9918$f77f9460$dc01a8c0@shakthi2f0f1ab> Reply-To: "Satheesan K Nair" From: "Satheesan K Nair" To: "Magnus Hagander" , "Heikki Linnakangas" Cc: References: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab><4EAE7097.8000306@enterprisedb.com><004001cc97b5$aff11970$dc01a8c0@shakthi2f0f1ab><4EAE8097.5040307@enterprisedb.com> Subject: Re: pg_restore: [custom archiver] error during file seek: Invalid argument Date: Wed, 2 Nov 2011 10:06:12 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.461 tagged_above=-5 required=5 tests=BAYES_00=-1.9, STOX_REPLY_TYPE=0.439 X-Spam-Level: X-Archive-Number: 201111/18 X-Sequence-Number: 31613 Hi Magnus & Heiki, The above problem solved when I have connected 8.1 server through PgAdmin III OF 9.1 version and restored. So, I think there was some bug fix related to the above problem in PgSql 9.1 pg_restore.exe. This is for your reference and information. Thanks and regards, Satheesan K Nair India ----- Original Message ----- From: "Magnus Hagander" To: "Heikki Linnakangas" Cc: "Satheesan K Nair" ; Sent: Monday, October 31, 2011 4:57 PM Subject: Re: [BUGS] pg_restore: [custom archiver] error during file seek: Invalid argument On Mon, Oct 31, 2011 at 12:03, Heikki Linnakangas wrote: > On 31.10.2011 12:12, Satheesan K Nair wrote: >> >> Our Operating System is Windows XP. >> >> Should we need to do any changes in any kind of configurations in >> Windows XP or PostgreSql?? > > According to the commit logs, there was a win32-related fix to this on > 8.2, > and some further MinGW-related changes in 8.4. > > Regardless of this issue, I'd suggest that you upgrade to the latest > version, 9.1.1. 8.1 isn't supported anymore, and 8.2 is just about to > reach > EOL by the end of December > (http://wiki.postgresql.org/wiki/PostgreSQL_Release_Support_Policy). Note that 8.1 was EOL'ed on Windows specifically even earlier than it was in general. >> We are trying to restore the data base backup in 8.1 version through 9.1 >> PGAdmin III. >> >> PGDump ran through "Fedora Linux 10 (Data Base Server) OS". >> >> Is there any other chance to give the above error? I meant something >> like, >> 1.pgdump not completed the dumping properly, >> 2.the Backup file is not saved/copied properly, etc?? > > I believe the dump is OK, but restoring it doesn't work on version 8.1 on > Windows. A workaround could be to run pg_restore on a 64-bit Unix box, talking to postgresql server on Windows. That should work around the issue - since the bug is in pg_dump/pg_restore and not in the backend. But I second and thid Heikkis recommendation that you need to get off version 8.1 and onto something more recent as quickly as possible. -- Magnus Hagander Me: http://www.hagander.net/ Work: http://www.redpill-linpro.com/