Constipation and gas pains normal?

I’ll be 28 weeks along tomorrow and for the last 2 days have had terrible sharp gas pains and discomfort like I’m backed up...but of course can’t go to the bathroom so there’s no relief. Is this normal at this stage in pregnancy? I’m so uncomfortable and it makes everyday challenging to get through. I didn’t have this with my first pregnancy but this pregnancy has been a lot more difficult.