Re: Issues with restoring - Mailing list pgsql-general

From Tom Lane
Subject Re: Issues with restoring
Date
Msg-id 17559.1143495328@sss.pgh.pa.us
Whole thread Raw
In response to Issues with restoring  ("beer" <beer@cmu.edu>)
Responses Re: Issues with restoring  ("beer" <beer@cmu.edu>)
List pgsql-general
"beer" <beer@cmu.edu> writes:
> We have a medium sized database that when dumped creates +4G files
> within the tar archive.  When we restore it seems that pg_restore has
> a 4G limit for reading files, once it reads 4G of a file, it moves on
> to the next file.  Has anyone else experienced this problem?

There is a member size limit inherent to the tar-archive code, although
I thought it was 8G not 4G.  I'd recommend using custom format (-Fc not
-Ft).

Still, if the thing is truncating your data and not telling you so,
that'd qualify as a bug.

On some platforms there might be a problem with lack of large-file
support at the stdio level, too.  What is your platform?

            regards, tom lane

pgsql-general by date:

Previous
From: "Mark Feller"
Date:
Subject: Re: [Bulk] General advice on database/web applications
Next
From: "Merlin Moncure"
Date:
Subject: Re: [Bulk] General advice on database/web applications