Re: ERROR: Memory exhausted in AllocSetAlloc(68) - Mailing list pgsql-bugs

From Tom Lane
Subject Re: ERROR: Memory exhausted in AllocSetAlloc(68)
Date
Msg-id 14946.1054044895@sss.pgh.pa.us
Whole thread Raw
In response to ERROR: Memory exhausted in AllocSetAlloc(68)  (Ruslan A Dautkhanov <rusland@scn.ru>)
List pgsql-bugs
Ruslan A Dautkhanov <rusland@scn.ru> writes:
> isbs=# SELECT count(i.*),sum(i.param1),sum(60-i.param1) FROM inlog i,
                ^^^^^^^^^^

Make that just count(*).  I think you're running into the poor handling
of whole-row references.

            regards, tom lane

pgsql-bugs by date:

Previous
From: Rod Taylor
Date:
Subject: Re: index not used for bigint without explicit cast
Next
From: Ruslan A Dautkhanov
Date:
Subject: Re: ERROR: Memory exhausted in AllocSetAlloc(68)