An assembly of a pulmonary venting catheter and a pacing wire disposed therethrough whereby the pacing wire is extended from the distal end of the catheter tube during pacing mode, eliminating the need for exchanging the venting catheter with a pacing catheter to begin pacing after venting. The pacing wire includes a flexible distal end for a first conductor to conductively engage heart tissue after the pacing wire is extended from the catheter distal end; a second conductor, also exposed outside the catheter distal end, completes the circuit. The pacing wire is lockable in unextended and extended positions at the proximal end portion of the assembly. A method for venting and pacing a patient's heart during cardiac surgery is described, which includes retracting the catheter distal end from the pulmonary artery after venting mode, into the right ventricle during pacing mode, whereafter the pacing wire is extended for pacing.