All garden/retaining walls are built to meet the specifications of the city or county that you are building in. The footings for the posts are wide and deep and set in concrete. Pressure treated fir is used to resist rot.