The pressure exerted by a column of liquid depends only on the height of the liquid, and not on the shape and size of the containing vessel.
This means that in the below figure, whatever the shape of the vessel, the pressure at the bottom of each of them will be the same, provided the height of the liquid in all of them is the same.