How old is your child?
My daughter was nearly 5 months when she didnt pass a stool for 24 hours. She eventually tried and as she tried, she was pushing so hard that she was vomiting through her mouth and nose and passed out

. We rushed to hospital not knowing what was wrong, we got there and her stools were just very hard and she struggled and was tired and decided to sleep. That is not any experience I want any mom to have to go through.
I would say 5 days is too long, see a pead.