file too large, segmentation fault

From: "Anjan Dave" <adave(at)vantage(dot)com>
To: <pgsql-admin(at)postgresql(dot)org>, <pgsql-patches(at)postgresql(dot)org>
Subject: file too large, segmentation fault
Date: 2003-11-24 03:51:10
Message-ID: 203C7FC3FF2D7A4588CE0429A87F3C9A04DD7E@vt-pe2550-001.vantage.vantage.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-patches

Hi All:

I am trying to restore a database on a different machine (7.2.3 on Sol9 to 7.2.4 RH8), and i get the following error, that i haven't seen before:

-bash-2.05b$ pg_restore -d access -Ft -a access.dump.tar
pg_restore: [tar archiver] could not open TOC file for input: File too large
Segmentation fault
-bash-2.05b$

-bash-2.05b$ ls -l
total 2339148
-rw-r--r-- 1 root root 2323785216 Nov 23 22:43 access.dump.tar


The only thing i did different in this restore is that i had created two groups in the template1 because the schema needed it and the pg_dump of the schema would not do it..so i used pg_dumpall.

I read somewhere that there's a patch for this:
http://dbforums.com/arch/173/2003/1/675653

Will this patch fix it? Where do i get it from and how do i apply it?


Thanks in advance,

anjan

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message pginfo 2003-11-24 05:41:19 Re: pg 7.4 on debian
Previous Message Christopher Browne 2003-11-24 02:31:34 Re: What is the advantage

Browse pgsql-patches by date

  From Date Subject
Next Message Manfred Koizar 2003-11-24 07:47:29 Re: preliminary: logical column order
Previous Message Andrew Dunstan 2003-11-24 01:16:29 Re: initdb mkdir_p() doesn't work