The aim of this randomized , double-blinded , prospective study was to determine the effectiveness and side effects of intravenous or epidural use of morphine , bupivacaine or ropivacaine on post-thoracotomy pain management .