Heikki Linnakangas <hlinnaka(at)iki(dot)fi> writes:
> Would it be possible to increment the command counter only for commands
> that do updates?
Probably that would work, but I'm unsure whether we have infrastructure
that would let you detect that reliably...
regards, tom lane