Re: [HACKERS] Linux Largefile Support In Postgresql RPMS

From: Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de>
To: strange(at)nsk(dot)yi(dot)org
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [HACKERS] Linux Largefile Support In Postgresql RPMS
Date: 2002-08-13 15:59:33
Message-ID: Pine.LNX.4.44.0208131752490.10566-100000@lothlorien.stunet.tu-freiberg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

> 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.

Regards
--
Helge Bahmann <bahmann(at)math(dot)tu-freiberg(dot)de> /| \__
The past: Smart users in front of dumb terminals /_|____\
_/\ | __)
$ ./configure \\ \|__/__|
checking whether build environment is sane... yes \\/___/ |
checking for AIX... no (we already did this) |

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Vince Vielhaber 2002-08-13 16:00:03 Re: Sourceforge moving to DB2
Previous Message Bruce Momjian 2002-08-13 15:55:05 Sourceforge moving to DB2

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-08-13 16:00:53 Re: Temporary Views
Previous Message strange 2002-08-13 15:53:47 Re: [HACKERS] Linux Largefile Support In Postgresql RPMS