You can ask your OS about pain control at your pre op visit if you have concerns.
My guy was excellent with it. First an ultrasound guided nerve block in the op leg; then when he had the implants in he used Exparel over the joint before he closed. Those give 24-48 hours worth of no pain (excepting the incision, which for me wasn't achey pain type pain, more stinging or burning sensation). My op report shows IV pain meds also, but I don't remember those.
The surgeon phoned in prescriptions before I left the hospital, so there wasn't any time where I didn't have something.
I asked for a change in meds because the original one made me feel sick and dizzy, and the doc had no problem with ordering something else.
Part of good pain control especially in the first days, is to stay on top of it with your meds. Take them on schedule even if you think it isn't that bad.
It's also important to not push yourself...don't try to be a stud and do all sorts of stuff to prove how tough you are. It isn't always easy, but it's important to chill and do to nothing but short little walks in the house for a while. Healing takes time and patience.
I hope your recovery is as smooth as mine - I had no appreciable pain, and only some muscle ache in my quad later on, which is normal. Best wishes to you. You'll love your new hip!