throwing up after c section

I had an emergency c section with first one ...so my water all ready Broke and I went through contractions and I threw up . 
Does this happen with scheduled c sections as well ? 
Thank you for any insight :)