On 2013-11-12 11:18:32 -0500, Tom Lane wrote:
> Or we could say "what the heck are you doing executing tens of
> thousands of DO blocks? Make it into a real live function;
> you'll save a lot of cycles on parsing costs." I'm not sure that
> this is a usage pattern we ought to be optimizing for.
Exactly, I think it's not worth spending much code/complexity on that
issue.
Greetings,
Andres Freund
-- Andres Freund http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training &
Services