From support@shakthiinnovators.com Mon Oct 31 06:17:40 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 2F31DB5E0F1 for ; Mon, 31 Oct 2011 03:17:40 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 97782-01 for ; Mon, 31 Oct 2011 06:17:34 +0000 (UTC) X-Greylist: delayed 00:06:39.219421 by SQLgrey-1.8.0-rc2 Received: from smtp132.iad.emailsrvr.com (smtp132.iad.emailsrvr.com [207.97.245.132]) by mail.postgresql.org (Postfix) with ESMTP id 4916AB5FCEB for ; Mon, 31 Oct 2011 03:01:36 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp53.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 02C19581D4 for ; Mon, 31 Oct 2011 01:54:55 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp53.relay.iad1a.emailsrvr.com (Authenticated sender: support-AT-shakthiinnovators.com) with ESMTPSA id 37C13581CA for ; Mon, 31 Oct 2011 01:54:54 -0400 (EDT) Message-ID: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> Reply-To: "Satheesan K Nair" From: "Satheesan K Nair" To: Subject: pg_restore: [custom archiver] error during file seek: Invalid argument Date: Mon, 31 Oct 2011 11:25:21 +0530 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0015_01CC97BF.C6B8F6A0" 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=0 tagged_above=-5 required=5 tests=BAYES_40=-0.001, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201110/306 X-Sequence-Number: 31576 This is a multi-part message in MIME format. ------=_NextPart_000_0015_01CC97BF.C6B8F6A0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Dear Supporter, We are trying to restore a 3.2GB sized POstgreSql 8.1 Data base. When it = is reaching a particular table restoration, giving error as "pg_restore: = [custom archiver] error during file seek: Invalid argument" and exiting = the restoration. Then when we have googled it, we found that PostgreSql will not support = a Backup file of more than 2 GB. We would like to know that any of later = Versions of the PostgreSql have been got fixed this problem? Awaiting for your reply. Satheesan K Nair India ------=_NextPart_000_0015_01CC97BF.C6B8F6A0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Dear Supporter,
 
We are trying to restore a 3.2GB sized = POstgreSql=20 8.1 Data base. When it is reaching a particular table restoration, = giving error=20 as "pg_restore: [custom archiver] error during file seek: Invalid = argument" and=20 exiting the restoration.
 
Then when we have googled it, we found = that=20 PostgreSql will not support a Backup file of more than 2 GB. We would = like to=20 know that any of later Versions of the PostgreSql have been got fixed = this=20 problem?
 
Awaiting for your reply.
 
Satheesan K Nair
India
------=_NextPart_000_0015_01CC97BF.C6B8F6A0-- From heikki.linnakangas@enterprisedb.com Mon Oct 31 09:55:47 2011 Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id AE41BB5DC23 for ; Mon, 31 Oct 2011 06:55:47 -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 46630-02 for ; Mon, 31 Oct 2011 09:55:41 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from exprod7og103.obsmtp.com (exprod7og103.obsmtp.com [64.18.2.159]) by mail.postgresql.org (Postfix) with ESMTP id 5FCE4B5DC1E for ; Mon, 31 Oct 2011 06:55:40 -0300 (ADT) Received: from mail-fx0-f46.google.com ([209.85.161.46]) (using TLSv1) by exprod7ob103.postini.com ([64.18.6.12]) with SMTP; Mon, 31 Oct 2011 02:55:41 PDT Received: by faan17 with SMTP id n17so8248840faa.33 for ; Mon, 31 Oct 2011 02:55:38 -0700 (PDT) Received: by 10.223.92.135 with SMTP id r7mr28991522fam.35.1320054938186; Mon, 31 Oct 2011 02:55:38 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi. [88.195.122.240]) by mx.google.com with ESMTPS id y8sm37032748faj.10.2011.10.31.02.55.36 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 02:55:37 -0700 (PDT) Message-ID: <4EAE7097.8000306@enterprisedb.com> Date: Mon, 31 Oct 2011 11:55:35 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Satheesan K Nair CC: pgsql-bugs@postgresql.org Subject: Re: pg_restore: [custom archiver] error during file seek: Invalid argument References: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> In-Reply-To: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/307 X-Sequence-Number: 31577 On 31.10.2011 07:55, Satheesan K Nair wrote: > We are trying to restore a 3.2GB sized POstgreSql 8.1 Data base. When it is reaching a particular table restoration, giving error as "pg_restore: [custom archiver] error during file seek: Invalid argument" and exiting the restoration. > > Then when we have googled it, we found that PostgreSql will not support a Backup file of more than 2 GB. We would like to know that any of later Versions of the PostgreSql have been got fixed this problem? I belive PostgreSQL has been able to handle that since version 7.3, if the operating system support is there. What operating system and version do you use? -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com From support@shakthiinnovators.com Mon Oct 31 10:12:43 2011 Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 44E62B5DC24 for ; Mon, 31 Oct 2011 07:12:43 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 67016-05 for ; Mon, 31 Oct 2011 10:12:36 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from smtp202.iad.emailsrvr.com (smtp202.iad.emailsrvr.com [207.97.245.202]) by mail.postgresql.org (Postfix) with ESMTP id 81EF1B5DC23 for ; Mon, 31 Oct 2011 07:12:36 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp30.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 0DC38204B0; Mon, 31 Oct 2011 06:12:36 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp30.relay.iad1a.emailsrvr.com (Authenticated sender: support-AT-shakthiinnovators.com) with ESMTPSA id E447D20501; Mon, 31 Oct 2011 06:12:34 -0400 (EDT) Message-ID: <004001cc97b5$aff11970$dc01a8c0@shakthi2f0f1ab> Reply-To: "Satheesan K Nair" From: "Satheesan K Nair" To: "Heikki Linnakangas" Cc: References: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> <4EAE7097.8000306@enterprisedb.com> Subject: Re: pg_restore: [custom archiver] error during file seek: Invalid argument Date: Mon, 31 Oct 2011 15:42:58 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response 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.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/316 X-Sequence-Number: 31586 Hi Heiki, Our Operating System is Windows XP. Should we need to do any changes in any kind of configurations in Windows XP or PostgreSql?? 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?? Satheesan K Nair India ----- Original Message ----- From: "Heikki Linnakangas" To: "Satheesan K Nair" Cc: Sent: Monday, October 31, 2011 3:25 PM Subject: Re: [BUGS] pg_restore: [custom archiver] error during file seek: Invalid argument > On 31.10.2011 07:55, Satheesan K Nair wrote: >> We are trying to restore a 3.2GB sized POstgreSql 8.1 Data base. When it >> is reaching a particular table restoration, giving error as "pg_restore: >> [custom archiver] error during file seek: Invalid argument" and exiting >> the restoration. >> >> Then when we have googled it, we found that PostgreSql will not support a >> Backup file of more than 2 GB. We would like to know that any of later >> Versions of the PostgreSql have been got fixed this problem? > > I belive PostgreSQL has been able to handle that since version 7.3, if the > operating system support is there. What operating system and version do > you use? > > -- > Heikki Linnakangas > EnterpriseDB http://www.enterprisedb.com From heikki.linnakangas@enterprisedb.com Mon Oct 31 11:04:03 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 00957B5DC45 for ; Mon, 31 Oct 2011 08:04:03 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 33061-04 for ; Mon, 31 Oct 2011 11:03:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from exprod7og121.obsmtp.com (exprod7og121.obsmtp.com [64.18.2.20]) by mail.postgresql.org (Postfix) with ESMTP id 2F33AB5DC2C for ; Mon, 31 Oct 2011 08:03:55 -0300 (ADT) Received: from mail-fx0-f42.google.com ([209.85.161.42]) (using TLSv1) by exprod7ob121.postini.com ([64.18.6.12]) with SMTP; Mon, 31 Oct 2011 04:03:56 PDT Received: by mail-fx0-f42.google.com with SMTP id r15so5656494faa.15 for ; Mon, 31 Oct 2011 04:03:55 -0700 (PDT) Received: by 10.223.4.215 with SMTP id 23mr28493494fas.8.1320059035363; Mon, 31 Oct 2011 04:03:55 -0700 (PDT) Received: from [192.168.1.183] (dsl-hkibrasgw2-ff7ac300-240.dhcp.inet.fi. [88.195.122.240]) by mx.google.com with ESMTPS id k16sm37342323fab.8.2011.10.31.04.03.52 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 31 Oct 2011 04:03:54 -0700 (PDT) Message-ID: <4EAE8097.5040307@enterprisedb.com> Date: Mon, 31 Oct 2011 13:03:51 +0200 From: Heikki Linnakangas User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fi-FI; rv:1.9.2.21) Gecko/20110831 Icedove/3.1.13 MIME-Version: 1.0 To: Satheesan K Nair CC: pgsql-bugs@postgresql.org Subject: Re: pg_restore: [custom archiver] error during file seek: Invalid argument References: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> <4EAE7097.8000306@enterprisedb.com> <004001cc97b5$aff11970$dc01a8c0@shakthi2f0f1ab> In-Reply-To: <004001cc97b5$aff11970$dc01a8c0@shakthi2f0f1ab> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/309 X-Sequence-Number: 31579 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). > 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. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com From support@shakthiinnovators.com Mon Oct 31 11:24:05 2011 Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 93B4BB5DBE4 for ; Mon, 31 Oct 2011 08:24:05 -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 54652-02 for ; Mon, 31 Oct 2011 11:23:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from smtp162.iad.emailsrvr.com (smtp162.iad.emailsrvr.com [207.97.245.162]) by mail.postgresql.org (Postfix) with ESMTP id A3748B5DC20 for ; Mon, 31 Oct 2011 08:23:58 -0300 (ADT) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp26.relay.iad1a.emailsrvr.com (SMTP Server) with ESMTP id 2B2A9A8305; Mon, 31 Oct 2011 07:23:58 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp26.relay.iad1a.emailsrvr.com (Authenticated sender: support-AT-shakthiinnovators.com) with ESMTPSA id 8DF7BA82F4; Mon, 31 Oct 2011 07:23:55 -0400 (EDT) Message-ID: <004901cc97bf$a77a2750$dc01a8c0@shakthi2f0f1ab> Reply-To: "Satheesan K Nair" From: "Satheesan K Nair" To: "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: Mon, 31 Oct 2011 16:54:15 +0530 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response 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.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/315 X-Sequence-Number: 31585 ok... let me try the same and check..... Thanks for your valuable support. ----- Original Message ----- From: "Heikki Linnakangas" To: "Satheesan K Nair" Cc: Sent: Monday, October 31, 2011 4:33 PM Subject: Re: [BUGS] pg_restore: [custom archiver] error during file seek: Invalid argument > 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). > >> 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. > > -- > Heikki Linnakangas > EnterpriseDB http://www.enterprisedb.com From magnus@hagander.net Mon Oct 31 11:27:55 2011 Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 07500B5DC4A for ; Mon, 31 Oct 2011 08:27:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 54376-03 for ; Mon, 31 Oct 2011 11:27:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.8.0-rc2 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com [209.85.216.174]) by mail.postgresql.org (Postfix) with ESMTP id 8B7A3B5DC45 for ; Mon, 31 Oct 2011 08:27:48 -0300 (ADT) Received: by qyk4 with SMTP id 4so3711570qyk.19 for ; Mon, 31 Oct 2011 04:27:48 -0700 (PDT) MIME-Version: 1.0 Received: by 10.229.63.131 with SMTP id b3mr2975660qci.270.1320060468146; Mon, 31 Oct 2011 04:27:48 -0700 (PDT) Received: by 10.229.49.146 with HTTP; Mon, 31 Oct 2011 04:27:48 -0700 (PDT) In-Reply-To: <4EAE8097.5040307@enterprisedb.com> References: <001801cc9791$b09dde90$dc01a8c0@shakthi2f0f1ab> <4EAE7097.8000306@enterprisedb.com> <004001cc97b5$aff11970$dc01a8c0@shakthi2f0f1ab> <4EAE8097.5040307@enterprisedb.com> Date: Mon, 31 Oct 2011 12:27:48 +0100 Message-ID: Subject: Re: pg_restore: [custom archiver] error during file seek: Invalid argument From: Magnus Hagander To: Heikki Linnakangas Cc: Satheesan K Nair , pgsql-bugs@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201110/310 X-Sequence-Number: 31580 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 rea= ch > 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 lik= e, >> 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. --=20 =A0Magnus Hagander =A0Me: http://www.hagander.net/ =A0Work: http://www.redpill-linpro.com/ From support@shakthiinnovators.com Wed Nov 2 04:35:51 2011 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/