pg.ddx.io pgsql-bugs@postgresql.org mailing list archive
help / color / mirror / Atom feedpg_restore: [custom archiver] error during file seek: Invalid argument
7+ messages / 3 participants
[nested] [flat]
* pg_restore: [custom archiver] error during file seek: Invalid argument
@ 2011-10-31 05:55 Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
0 siblings, 1 reply; 7+ messages in thread
From: Satheesan K Nair @ 2011-10-31 05:55 UTC (permalink / raw)
To: pgsql-bugs
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
@ 2011-10-31 09:55 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
0 siblings, 1 reply; 7+ messages in thread
From: Heikki Linnakangas @ 2011-10-31 09:55 UTC (permalink / raw)
To: Satheesan K Nair <support@shakthiinnovators.com>; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
@ 2011-10-31 10:12 ` Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:03 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
0 siblings, 1 reply; 7+ messages in thread
From: Satheesan K Nair @ 2011-10-31 10:12 UTC (permalink / raw)
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>; +Cc: pgsql-bugs
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" <heikki.linnakangas@enterprisedb.com>
To: "Satheesan K Nair" <support@shakthiinnovators.com>
Cc: <pgsql-bugs@postgresql.org>
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
@ 2011-10-31 11:03 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 11:24 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:27 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Magnus Hagander <magnus@hagander.net>
0 siblings, 2 replies; 7+ messages in thread
From: Heikki Linnakangas @ 2011-10-31 11:03 UTC (permalink / raw)
To: Satheesan K Nair <support@shakthiinnovators.com>; +Cc: pgsql-bugs
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:03 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
@ 2011-10-31 11:24 ` Satheesan K Nair <support@shakthiinnovators.com>
1 sibling, 0 replies; 7+ messages in thread
From: Satheesan K Nair @ 2011-10-31 11:24 UTC (permalink / raw)
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>; +Cc: pgsql-bugs
ok... let me try the same and check.....
Thanks for your valuable support.
----- Original Message -----
From: "Heikki Linnakangas" <heikki.linnakangas@enterprisedb.com>
To: "Satheesan K Nair" <support@shakthiinnovators.com>
Cc: <pgsql-bugs@postgresql.org>
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
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:03 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
@ 2011-10-31 11:27 ` Magnus Hagander <magnus@hagander.net>
2011-11-02 04:36 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
1 sibling, 1 reply; 7+ messages in thread
From: Magnus Hagander @ 2011-10-31 11:27 UTC (permalink / raw)
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>; +Cc: Satheesan K Nair <support@shakthiinnovators.com>; pgsql-bugs
On Mon, Oct 31, 2011 at 12:03, Heikki Linnakangas
<heikki.linnakangas@enterprisedb.com> 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/
^ permalink raw reply [nested|flat] 7+ messages in thread
* Re: pg_restore: [custom archiver] error during file seek: Invalid argument
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:03 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 11:27 ` Re: pg_restore: [custom archiver] error during file seek: Invalid argument Magnus Hagander <magnus@hagander.net>
@ 2011-11-02 04:36 ` Satheesan K Nair <support@shakthiinnovators.com>
0 siblings, 0 replies; 7+ messages in thread
From: Satheesan K Nair @ 2011-11-02 04:36 UTC (permalink / raw)
To: Magnus Hagander <magnus@hagander.net>; Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>; +Cc: pgsql-bugs
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" <magnus@hagander.net>
To: "Heikki Linnakangas" <heikki.linnakangas@enterprisedb.com>
Cc: "Satheesan K Nair" <support@shakthiinnovators.com>;
<pgsql-bugs@postgresql.org>
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
<heikki.linnakangas@enterprisedb.com> 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/
^ permalink raw reply [nested|flat] 7+ messages in thread
end of thread, other threads:[~2011-11-02 04:36 UTC | newest]
Thread overview: 7+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2011-10-31 05:55 pg_restore: [custom archiver] error during file seek: Invalid argument Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 09:55 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 10:12 ` Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:03 ` Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
2011-10-31 11:24 ` Satheesan K Nair <support@shakthiinnovators.com>
2011-10-31 11:27 ` Magnus Hagander <magnus@hagander.net>
2011-11-02 04:36 ` Satheesan K Nair <support@shakthiinnovators.com>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox