>>
>
>Does it make sense to have a 'row' context which is released just before
>starting with a new tuple ? The total number or free is the same but they
>are distributed over the query and unused memory should not accumulate.
>I have seen backends growing to 40-60MB with queries which scan a very
>large number of rows.
>
I think this would be appropiate.
With regards from Maurice.