Han Holl <han(dot)holl(at)prismant(dot)nl> writes:> Postgres seems to free the palloc'd memory at the end of the> select statement,
It should do so sooner than that. Can you provide a self-containedexample?
regards, tom lane