I agree with Joopson...just create the curve for the railing, than a curve for the shape of the rail (square, circle, oval etc.)...and under surface menu, extrude along path