Tom Lane wrote:
> It would be
> altogether cleaner though if the CommandCounterIncrement responsibility
> were in the same place it is now, ie the caller of the executor. Which
> could be possible if we restructure the rewriter/planner output as a
> list of Queries instead of just one. I'm not currently sure how hard
> that would be, though; it might not be a practical answer.
I'm trying to avoid doing this, at least for now.
Regards,
Marko Tiikkaja