Torricelli's theorem and pressure