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