P-spaces and the Volterra property