bedpost (n.) Look up bedpost at Dictionary.com
also bed-post, "post forming an angle of a bed frame," 1590s, from bed (n.) + post (n.1). Formerly they were made high to support a canopy and rods for a curtain.