Tom Lane wrote:> Since both allocations are only transient within this routine, there's> a simpler more effective solution, which is to only do one malloc in> the first place
Yeah, true. Attached is a revised patch -- committed to HEAD.
-Neil