Re: [HACKERS] Linux Largefile Support In Postgresql RPMS - Mailing list pgsql-general

From strange@nsk.yi.org
Subject Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date
Msg-id 20020813165347.A3605@nsk.yi.org
Whole thread Raw
In response to Re: [HACKERS] Linux Largefile Support In Postgresql RPMS  (Andrew Sullivan <andrew@libertyrms.info>)
Responses Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
List pgsql-general
On Tue, Aug 13, 2002 at 11:31:15AM -0400, Andrew Sullivan wrote:
> On Tue, Aug 13, 2002 at 05:19:31PM +0200, Helge Bahmann wrote:
> > If all the 2GB problem is only about pg_dump may I suggest a work-around?
> >
> >   pg_dump | cat >dumpfile.sql
> >
> > works without problems if "cat" is largefile-enabled;
>
> I had that break on Solaris.  Makes no sense to me, either, but it
> most certainly did.

Does the shell have large file support? The file descriptor for dumpfile.sql
is opened by the shell, not by cat. Cat just reads a few bytes from stdin
and writes a few bytes to stdout, it wouldn't break large file support for
itself.

Regards,
Luciano Rocha

--
Consciousness: that annoying time between naps.

pgsql-general by date:

Previous
From: strange@nsk.yi.org
Date:
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Next
From: Bruce Momjian
Date:
Subject: Sourceforge moving to DB2