$$P+\rho gh+\frac{\rho v^2}{2} = C$$
Does the $P$ here stand for the hydrostatic pressure exerted by the fluid on its surroundings or the pressure that’s exerted on a given portion of the fluid? I assumed it was the former but Torricelli’s Theorem made me think that I’m probably wrong.