I think everyone just calls them railings. I know, it's hard to believe there isn't some unusual maritime term for them. However, the railing that runs around the stern of the ship, on the poop deck, is called the taffrail. The railings along the sides of the ship are called the gunwales, because you could mount swivel guns on them.