A pump device for use with an operating table in an operating room. The pump device including: a pump for pumping a rinsing liquid through a pump tube, and a controller configured to determine a height adjustment of the operating table in the operating room and control the pump pressure of the pump based on the detected height adjustment.