I've never flown more then 6-8 hours and never needed to urgently. I just used a airline restroom this year for the first time on an international flight because you really can't hold it when you're drinking a crapload of liquor on the plane

The restrooms are so fucking small and uncomfortable on most planes. I usually can't stand upright because of my height or move because of my shoulder width.