Re: BUG #4698: psql.exe is exits reporting "out of memory" error - Mailing list pgsql-bugs

From Tom Lane
Subject Re: BUG #4698: psql.exe is exits reporting "out of memory" error
Date
Msg-id 2331.1236713464@sss.pgh.pa.us
Whole thread Raw
In response to BUG #4698: psql.exe is exits reporting "out of memory" error  ("Yuri Cherio" <yuri@aergo.com>)
List pgsql-bugs
"Yuri Cherio" <yuri@aergo.com> writes:
> psql -f "filename.sql" > "out_file_name"

> One would expect that standard output should not be accumulated until it
> blows up but instead would behave as a stream.

This is not the case, for various reasons that I don't feel like
debating right now.  You might try using \copy instead of a SELECT,
though.

            regards, tom lane

pgsql-bugs by date:

Previous
From: "Yuri Cherio"
Date:
Subject: BUG #4698: psql.exe is exits reporting "out of memory" error
Next
From: "Scott Reed"
Date:
Subject: BUG #4699: pg_restore hangs with incorrect file format