We had a husky-wolf mix that would keep going back after porkies again and again
The st bernard-lab mix we had a few years ago pretty much learned to beware, but she got some quills in her feet. She kept jumping over one trying to get at it's face, I guess. My daughter's Malin-what got into that same one real bad. After that I started dispatching them - no more Mr. Live-and-let-live. Clearing the thickets of "dog-hair" trees around the house seemed to cut down on the number of porcupines that we see annually.
I don't think our golden has gotten into a porkie yet, though he has seen them. Like I said, the sheltie has cornered a few for me to shoot. She even cornered a badger one time, but I let it go since it was pretty deep in the woods. The badgers are a mixed blessing - they dig up the gophers but leave big holes behind