How expensive is this to repair? Just side swiped a post supporting my lanai. Can this be repaired without doing the whole lanai?

I woke drowsy and totally made a mistake😞