Silvio Brandani <silvio(dot)brandani(at)tech(dot)sdb(dot)it> writes:
>> Still problems of Out of Memory:
>> the query is the following and if I run it from psql is working fine,
>> but from application I get error :
Is it really the *exact* same query both ways, or are you doing
something like parameterizing the query in the application?
regards, tom lane