Re: 2GB file limit. - Mailing list pgsql-general

From Marko Kreen
Subject Re: 2GB file limit.
Date
Msg-id 20011231090823.GA10974@l-t.ee
Whole thread Raw
In response to 2GB file limit.  ("Arsalan Zaidi" <azaidi@directi.com>)
List pgsql-general
On Mon, Dec 31, 2001 at 01:36:17PM +0530, Arsalan Zaidi wrote:
> I'm trying to COPY a rather large file (> 3GB) into a db. Unfortunately, the
> COPY command throws an error telling me that the file is too large. I can
> operate on the file using 'wc', 'cat' and even through Java, but when I try
> and use vi to open it, it is automatically deleted.
>
> What's up with this? Why can some programs access the file and others like
> Postgresql and vim, not? I'm using 2.4.17 with ext3 on an x86 machine.

Those programs dont use O_LARGEFILE when opening?  (man 2 open)

--
marko


pgsql-general by date:

Previous
From: Jean-Michel POURE
Date:
Subject: Re: PostgreSQL GUI
Next
From: Oliver Elphick
Date:
Subject: Re: 2GB file limit.