Skip site navigation (1) Skip section navigation (2)

Re: BUG #4698: psql.exe is exits reporting "out of memory" error

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Yuri Cherio" <yuri(at)aergo(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #4698: psql.exe is exits reporting "out of memory" error
Date: 2009-03-10 19:31:04
Message-ID: 2331.1236713464@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Yuri Cherio" <yuri(at)aergo(dot)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

In response to

pgsql-bugs by date

Next:From: Tom LaneDate: 2009-03-10 19:43:37
Subject: Re: BUG #4699: pg_restore hangs with incorrect file format
Previous:From: Scott ReedDate: 2009-03-10 19:23:19
Subject: BUG #4699: pg_restore hangs with incorrect file format

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group