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.