This study compares the effect on postoperative pain of bolus administration of ropivacaine in Transversus abdominis plane catheter and continuous bupivacain-infusion in epidural catheters following open gynecologic surgery.The study is double blind. The hypothesis is that the effect of the two modes of pain treatment are equal.