There is quite a difference between 36+6 and 40 ish.
My 1st (DS) has a little bit of trouble breathing and vomited lots of mucus. He also struggled to latch so breastfeeding was difficult at first. He was "flimsy" - long and thin and when he put on weight, he grew longer, not fatter. He remained flimsy and was lateish to hold his own head up and sit unaided In fact, he's now 4 and although probably genetics is the reason why he is thin, he has never put on weight as fat, just as height. He doesn't have health issues now, he's just thin and that probably is genetics.
My 2nd (DD) was far more robust and a little heavier (at the same gestation). I believe that this was largely because she was female and her birth was a little easier as she was a 2nd born (no instruments). Anyway, when I tried to breastfeed her, I held her in the position and she just latched in 1 second. I then realised how "weak" my DS had been at birth.
Every day you can hold out will help your baby's lungs. Personally in your position, I'd aim to get to 37 + few days up to 38 weeks and go no further. It is very difficult as when I was pg, every day I went on, I was terrified for the safety of my baby
I don't know anything about your condition re scar or what sort of risk levels you are looking at, but there are statistics on how likely baby is to need SCBU etc at various gestations.
Another point is that you need a c section but both mine were delivered vaginally - the risk of breathing difficulty is greater with a c section I believe.