wetter wetterana <wetterana(at)gmail(dot)com> writes:
> Help much appreciated!
The out-of-memory situation is definitely happening on the client side,
not the server side. A problem happening in the server would not result
in a message spelled quite that way, and it would not use an HY000 error
code either.
A plausible guess is that you're trying to retrieve more rows in a single
query than your client-side environment can hold in memory. You could
break up the query, or convert to a cursor with which you fetch a few rows
at a time.
Not knowing anything much about your client-side software stack, it's
hard to be more specific than that.
regards, tom lane