pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Tino Schwarze <postgresql@tisc.de>
Cc: pgsql-admin@postgresql.org, "Tena Sakai" <tsakai@gallo.ucsf.edu>
Subject: Re: out of memory
Date: Wed, 12 Sep 2007 10:20:48 -0400
Message-ID: <20997.1189606848@sss.pgh.pa.us> (raw)
In-Reply-To: <20070912081205.GA29139@easy2.in-chemnitz.de>
References: <FE44E0D7EAD2ED4BB2165071DB8E328C03062BF9@egcrc-ex01.egcrc.org>
	<10890.1189569501@sss.pgh.pa.us>
	<FE44E0D7EAD2ED4BB2165071DB8E328C03062BFC@egcrc-ex01.egcrc.org>
	<20070912081205.GA29139@easy2.in-chemnitz.de>

Tino Schwarze <postgresql@tisc.de> writes:
> On Tue, Sep 11, 2007 at 09:15:56PM -0700, Tena Sakai wrote:
>> But there's a problem, for which I hope you have
>> more wisdom.  The reason why I tried that query
>> is because someone tried the same thing via odbc
>> from pc quering postgres database and got the
>> same error ("out of memory").
>> 
>> What can a pc user do?  Anything?

> Tell the user that he/she should use an appropiate WHERE clause. You
> might also consider adding more swap to the machine. Then it will go
> horribly slow, but it will work.

Or turn the query into a cursor so you can FETCH a reasonable number of
rows at a time.

			regards, tom lane



view thread (24+ messages)  latest in thread

Message-ID: <20997.1189606848@sss.pgh.pa.us>
Permalink:  ../20997.1189606848@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/20997.1189606848@sss.pgh.pa.us

 · 

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: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, postgresql@tisc.de, tsakai@gallo.ucsf.edu
  Subject: Re: out of memory
  In-Reply-To: <20997.1189606848@sss.pgh.pa.us>

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

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