1859, U.S. Southern black dialectal inversion of woodpecker; in folklore, taken as the type of white people, especially poor whites (1929), and symbolically contrasted with blackbird.
woodpecker genus, from Latin picus "woodpecker," from PIE root *(s)peik- "woodpecker, magpie" (source also of Umbrian peica "magpie," Sanskrit pikah "Indian cuckoo," Old Norse spætr, German Specht "woodpecker"); possibly from PIE root *pi-, denoting the pointedness of the beak.
also pick-axe, "tool used for breaking up and digging ground," especially a pick with a sharp point on one side of the head and a broad blade on the other, early 15c., folk etymology alteration (by influence of axe) of Middle English picas, pikeis (mid-13c.), via Anglo-French piceis, Old French pocois (11c.) and directly from Medieval Latin picosa "pick," which is related to Latin picus "woodpecker" (see pie (n.2)).
"having the feathers of the top of the head elongated and conspicuous," 1728, from Latin pileatus "capped," from pileus "conical felt cap without a brim," which is perhaps from Greek pilos "felt; felt hat," also "felt shoe, felt blanket," or they may be from a common source (somewhat similar words are found in Germanic and Slavic). Beekes calls it "an old culture word of unknown origin." Applied in natural history to sea urchins and certain birds, notably the pileated woodpecker, a large species of North America.
popular name of a common bird of Europe, Asia, and America, known for its chattering, acquisitiveness, curiosity, and mimicry, c. 1600, earlier simply pie (mid-13c.).
The first element is Mag, nickname for Margaret, long used in proverbial and slang English for qualities associated generally with women, especially in this case "idle chattering" (as in Magge tales "tall tales, nonsense," early 15c.; also compare French margot "magpie," from Margot, pet form of Marguerite). The name Margaret, and its reduced forms Mag, Madge, diminutive Maggie, also has long been familiarly applied to birds. Pies were proverbial since Middle English for chattering (as were jays), hence the application of pie to a prattling gossip or tattler, also "sly person, informer" (late 14c.) and in 15c.-16c. a wily pie (or wyly pye) was "a cunning person."
The second element, pie, is the earlier name of the bird, from Old French pie, from Latin pica "magpie" (source also of Spanish pega), fem. of picus "woodpecker," from PIE root *(s)peik- "woodpecker, magpie" (source also of Umbrian peica "magpie," Sanskrit pikah "Indian cuckoo," Old Norse spætr, German Specht "woodpecker"); possibly from PIE root *pi-, denoting pointedness, of the beak. The application to pies might be because the magpie also has a long, pointed tail.
The birds are proverbial for pilfering and hoarding and for their indiscriminate appetites (see pica (n.2)); they can be taught to speak, and have been regarded since the Middle Ages as ill omens.
Whan pyes chatter vpon a house it is a sygne of ryghte euyll tydynges. 
Divination by numbering magpies is attested from c. 1780 in Lincolnshire; the rhyme varies from place to place, the only consistency being that one is bad, two are good.
The councils which magpies appear to hold together, at particular seasons, commonly called "folkmotes," are associated in the minds of many with superstitious and ominous notions. The innocent objects of terror, while meeting together most probably for the purpose of choosing mates, are supposed to be conspiring and clubbing their wits, for the weal or woe of the inhabitants of the neighbouring village. If they are of an even number and carry on their cheerful, noisy chatter, it is supposed to betoken good to old and young—but if there is an odd magpie perched apart from the rest, silent, and disconsolate, the reverse of this is apprehended, and mischievous consequences are inevitably expected. [The Saturday Magazine, Jan. 23, 1841]
"weapon with a long shaft and a pointed metal head," 1510s, from French pique "a spear; pikeman," from piquer "to pick, puncture, pierce," from Old French pic "sharp point or spike," a general continental term (Spanish pica, Italian picca, Provençal piqua), perhaps ultimately from a Germanic [Barnhart] or Celtic source (see pike (n.2)). An alternative explanation traces the Old French word (via Vulgar Latin *piccare "to prick, pierce") to Latin picus "woodpecker." No doubt, too, there is influence from pike (n.1), which by 1200 had a sense of "spiked staff."
"Formerly the chief weapon of a large part of the infantry; in the 18th c. superseded by the bayonet" [OED]; hence old expressions such as pass through pikes "come through difficulties, run the gauntlet;" push of pikes "close-quarters combat." German Pike, Dutch piek, Danish pik, etc. are from French pique.
large, piscivorous, natatorial bird widespread in tropical and temperate regions, noted for its large, distensible gular pouch, Old English pellicane, from Late Latin pelecanus, from Greek pelekan "pelican" (so used by Aristotle), apparently related to pelekas "woodpecker" and pelekys "ax," perhaps so called from the shape of the bird's bill. Spelling influenced in Middle English by Old French pelican. Used in Septuagint to translate Hebrew qaath. The fancy that it feeds its young on its own blood (by c. 1200 in English) is an Egyptian tradition properly belonging to some other bird. Louisiana has been known as the Pelican state at least since 1856.