The investegators aimed to compare the efficacy of subcostal Transversus abdominis plane analgesia, to epidural analgesia intra and postoperatively in upper abdominal surgeries.
Inclusion Criteria: * American Society of Anesthesiologists (ASA) physical status I, II or III * The incision included is right subcostal incision for major upper abdominal surgeries (partial hepatectomy, pancreatic surgery included Whipple's procedure, total pancreatectomy and distal pancreatectomy) and other operations using the same incision. Exclusion Criteria: * Patient refusal. * Hematological diseases. * Bleeding diseases. * Coagulation abnormality. * Local skin infection * Sepsis at site of the block. * Known hypersensitivity to the study drugs. * Body Mass Index \> 35 Kg/m2. * If the lower end of the incision extended below T10 (umbilicus). * If the incision extended laterally beyond the anterior axillary line or extended to pass the midline to the other side.