Barrier of upright wooden posts