JanWieck(at)t-online(dot)de (Jan Wieck) writes:
> I've looked at textout() and, well, your style of detoasting
> arguments looks alot better and easier. From the way it's
> implemented I assume the per tuple memory context is done
> too, no?
Not yet --- I'm running regress tests on it right now, though.
You're right that I'm assuming the function routines can leak
memory without trouble.
(We might need to avoid leaks in the comparison routines that are used
for indexes, but otherwise I think this scheme will work comfortably.)
regards, tom lane