Length does nothing. The pressure formula is $P = P_0 + \rho gd$ where P0 is the pressure at the surface and d is the depth. This formula does not use the length of the container, so the length affects nothing.