I was also pleasantly surprised about how well my son's pain was managed. He was an inpatient for all of his surgeries and the pain team were around every day asking about his pain and if he needed to go up or down on any pain meds he was on.
When he had his last surgery in November, his first planned surgery, they made a plan about pain relief before the surgery and decided to give him an epidural to be absolutely certain he was as pain free as possible. He was also given morphine during the actual surgery and it turned out the epidural probably wasn't necessary so they took it out faster than expected because he was coping really well.
They also had him on anti sickness meds if he even felt slightly sick to reassure him that he wouldn't be sick. They were wonderful with managing things like that for him.