headboard — a board forming the head of anything, especially of a bed.
bedrail — a rail or board along the side of a bed that connects the headboard with the footboard
bedpost — A bedpost is one of the four vertical supports at the corners of a bed with an old-fashioned wooden or iron frame.
rail — any of numerous birds of the family Rallidae, that have short wings, a narrow body, long toes, and a harsh cry and inhabit grasslands, forests, and marshes in most parts of the world.