public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Hector Miranda <[email protected]>
Cc: [email protected]
Subject: Re: Problem with large tables
Date: Thu, 05 Apr 2001 17:38:00 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

"Hector Miranda" <[email protected]> writes:
> I'm working with Posgresql 7.0.3 on Red Hat linux 6.2. When I make the 
> following query "select * from mytable" (2000000 rows),

You're running out of application memory for the query result.  (libpq
doesn't recover from that too gracefully, unfortunately.)  Consider
using a cursor to fetch the data in more manageable chunks.

			regards, tom lane




view thread (2+ messages)

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: Problem with large tables
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox