Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

From: strange(at)nsk(dot)yi(dot)org
To: pgsql-general(at)postgresql(dot)org
Cc: Andrew Sullivan <andrew(at)libertyrms(dot)info>
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-13 15:53:47
Message-ID: 20020813165347.A3605@nsk.yi.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

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.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-08-13 15:55:05 Sourceforge moving to DB2
Previous Message strange 2002-08-13 15:43:18 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

Browse pgsql-hackers by date

  From Date Subject
Next Message Helge Bahmann 2002-08-13 15:59:33 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Previous Message Tom Lane 2002-08-13 15:43:49 Re: Temporary Views