From pillar to post has 2 different meanings across 1 category:
Adverb
from one place or situation to another
"we were driven from pillar to post"
From one place (or person, or task) to another; from post to pillar, hither and thither.