When we were in this situation I firmly told my husband that when it’s him who’s having the c-section he gets to decide on visitors. It was a non-negotiable. I was scared of making his family feel pushed out so I told both sides that we would let them know when we were ready for visitors and refused to commit, to make it fair. Everyone lived hours away so I wasn’t concerned about drop-in visits. My reasoning was that if I was in pain, bleeding, crying, leaking milk all over the place then my DH would surely have enough sense to support me when telling people they have to wait to come as I’m having a rough time of it. And if I wasn’t and felt up to visitors he wouldn’t exactly be upset.
I called my mum in tears 2 days before my section and begged her to come. I was so scared and I just needed my mum. I told DH and he was like “what about my mum?” And my reply was “when it’s you giving birth and having major surgery, I have no issue her being here.” That shut him up. Thank goodness my mum came. My waters went the morning of my section and DH panicked and ran to get her, she brought supplies to the hospital when we had to stay in longer (DH stayed with me) and second night home when DS screamed for 10 hours and I was sobbing and DH was about the same, she took him and let us both catch up on some much needed sleep. She even helped me with showering, breastfeeding, dressing etc while DH saw to the baby - absolutely no way would I have wanted anyone else to do that for me.
The day of my section DHs family chat was blowing up with messages from MIL constantly asking for updates, any time yet etc. I didn’t mind at first (there’s not much to do in triage!). But it seemed like every 15 minutes there was another MIL message asking for news. I tried to stop it from bothering me as I knew she was just excited, but it did start to grate as we’d told her we’d let her know when we knew anything. I looked at my phone after surgery and saw the messages hadn’t stopped and eventually a message from my SIL (DHs brothers wife) firmly telling MIL to calm down and if baby is here to let us have our own family time to bond and we’ll no doubt tell everyone when we’re ready!
I was in for 48 hours and it was nice knowing I’d not put a timeline on visitors as it took the pressure off, but once I got home with DS I was surprised how well I felt and how up and about I was, so I asked DH to get his mum down the next day. I knew it was important to him she came as soon as I felt able. Her face when my mum opened the door made it apparent she hadn’t know she’d been there since before the birth (DH hadn’t told her even though it wasn’t exactly a secret). I did feel bad but also I refused to feel guilty as she was there for me and I needed my mum.
Edited to add: no visitors to the hospital except my mum, as Covid restrictions were still in place. If I had another now and was only in 1 or 2 nights I’d just have a blanket ban on hospital visitors, as that is too much pressure