stud bolted

adj.

Drunk by closing time, and fixed at one end to the bar while accepting further rounds at the other.

Source: Wiktionary