Contraindications to the spinal technique, allergy to the study drugs, patients treated with opioids for chronic pain, patients with obstructive sleep apnea, morbidly obese patients, pregnant women, patient requiring mechanical ventilation at the end of surgery.