When getting a normal tooth not a wisdom tooth pulled is it okay to smoke a cigarette?

I heard it can cause a "dry socket" and a pal of mine was advised not to smoke until his gums healed. It makes since if you want to keep bacteria from the smoke infecting your mouth/gums. Better to be safe than sorry. You shouldn't need to smoke if they give you decent enough pain killers anyway. Those will knock you out and you won't even remember to smoke.