From: | strange(at)nsk(dot)yi(dot)org |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: [HACKERS] Linux Largefile Support In Postgresql RPMS |
Date: | 2002-08-13 16:03:33 |
Message-ID: | 20020813170333.A3804@nsk.yi.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
On Tue, Aug 13, 2002 at 05:59:33PM +0200, Helge Bahmann wrote:
> > I very much doubt pg_dump would be seeking or telling on stdout, as it may
> > be a pipe, a tty, a socket, etc., so you can skip the cat and just do
> > pg_dump > dumpfile.sql.
> >
> > Oh, and cat doesn't need to be largefile-enabled as it never seeks in
> > files, as neither does pg_dump, as it doesn't, or shouldn't (I see no need
> > for), seek in the output file.
>
> no and no, this will *not* work; the file has to be opened with the flag
> O_LARGEFILE, otherwise the kernel will refuse to write files larger than
> 2GB. Really.
Yeah, and cat will *never* open any file to write to, anyway.
I do say at the end:
"The only thing to worry would be when opening the large files, but a
simple rule in autoconf will set the needed #define in the headers..."
--
Consciousness: that annoying time between naps.
From | Date | Subject | |
---|---|---|---|
Next Message | Joshua D. Drake | 2002-08-13 16:08:26 | Re: Very slow insert speed |
Previous Message | Bruce Momjian | 2002-08-13 16:02:36 | Re: Sourceforge moving to DB2 |
From | Date | Subject | |
---|---|---|---|
Next Message | Teodor Sigaev | 2002-08-13 16:05:48 | Please, apply patch for contrib/tsearch |
Previous Message | Joe Conway | 2002-08-13 16:01:29 | Re: [HACKERS] Linux Largefile Support In Postgresql RPMS |