OED3 has this for the hog (other senses [e.g., razor-back whale] are earlier):

1845 South. Agriculturist July 258 Razor-back hogs and sway-back cattle, and sheep that dogs will hardly eat after killing.