Bob, you don't say whose extension it is....... yours or his?
Anyway, with extensions, good practice dictates that nothing should be undertaken on neighbouring ground. Foundation trenches should be dug with the outer side of the trench being at the position of the boundary. The footings should be wholly within the extension owner's property.
This works in practice because the face of a wall is not the extent of the extension. Up above the wall-face will likely be a fascia or barge board which may be overhanging. Also, there is often guttering. None of this should sail over neighbouring property.
Back to the plot... put the new posts in exactly the same position as the existing ones. After the passage of time, a line has clearly been established. Altering it could easily lead to argument.
Unless it's a huge problem, things are often best left well alone.