Markus Wagner <wagner(at)imsd(dot)uni-mainz(dot)de> writes:
> The postgres log file says something like "out of memory".
An accurate reproduction of the exact error message you are getting might
help us help you.
Also, what do you mean by "postgres log file" --- if that's the
postmaster log, I would not expect it to report problems occurring
inside client programs. Are you sure it's the client process running
out of memory, and not the backend?
Which PG version is this?
regards, tom lane