Wiktionary
up the pole
a. 1 (context slang English) In favour or good repute; strait-laced 2 (context slang English) In confusion or error 3 (context slang English) In trouble or difficulty 4 (context slang archaic English) Drunk 5 (context slang English) Crazy; at one's wits' end 6 (context slang Ireland dated English) Pregnant