"police informer," 1859, American English; earlier "one who betrays the unwary (or is used to betray them)," 1821, originally a decoy bird (1812); said to be from decoys being fastened to stools to lure other pigeons. But perhaps related to stall "decoy bird" (c. 1500), especially "a pigeon used to entice a hawk into the net" (see stall (n.2)). Also see pigeon.
childish deformed language (there are many different versions), by 1889 (hog Latin in same sense is attested by 1807).
The animals play quite an important part in the naming [of children's languages], as the hog, dog, fly, goose, pigeon, pig, all give names, with Mr. Hog leading. Among the names the Latins take the lead, and Hog Latin leads the list, being accredited as naming nearly as many languages as all the other names combined. Besides Hog Latin, there is Dog Latin, Pig Latin, Goose Latin, and Bum Latin. Then there is Greekish and Peddlers' French and Pigeon English. ... Very few can give any reason for the naming of the languages. In fact, no one can fully say where the great majority of names came from, for in most cases in the naming the following pretty well expresses the difficulty: "It was born before I was. I can't tell how young I was when I first heard of it." ["The Secret Language of Children," in The North Western Monthly, October 1897]
For the language itself, compare loucherbem, a 20c. French slang similar to pig Latin, which takes its name from the form of the word boucher in that language (which is said to have originated among the Paris butchers).