Re: out of memory - Mailing list pgsql-admin

From Tom Lane
Subject Re: out of memory
Date
Msg-id 20997.1189606848@sss.pgh.pa.us
Whole thread Raw
In response to Re: out of memory  (Tino Schwarze <postgresql@tisc.de>)
List pgsql-admin
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

pgsql-admin by date:

Previous
From: Devrim GÜNDÜZ
Date:
Subject: Re: Error installing Postgres 8.2.4
Next
From: Tom Lane
Date:
Subject: Re: Error installing Postgres 8.2.4