Postoperative recovery of gastrointestinal function and resumption of oral intake are critical determinants of the length of hospital stay. Although opioids are effective treatments for postoperative pain, they contribute to the delayed recovery of gastrointestinal function.