“What would this ordinance say?”
It can say whatever dog lovers want it to say. Tell the cops to never shoot a dog - wait for animal control no matter what the danger.
Just pass a law they like or stop complaining.
It doesn’t take a dog lover to recognize an abuse of power, and a change in the relationship between cops and citizens from a partnership to an adversarial one.