It doesn't matter what you are doing, drinking, eating, etc.
One serving of alcohol takes approximately 1 hour to be metabolized by the body, specifically the liver, before it is out of your bloodstream. Drinking water won't work. Having a big fat greasy pizza won't work. Taking aspirin won't work. Only TIME will work. One serving of alcohol = a 12 ounce beer, an 8 ounce glass of wine, or a 1.5 ounce shot of liquor. It's just always funny how some people will say that formula is poison, yet they'd have no qualms about drinking or smoking while nursing!
While I was EP-ing, I did not drink at all. Personally, for me it wasn't worth taking a chance that the alcohol would get into my milk for my child but then again I was pumping every 2 1/2 hours so I really didn't have much time for enjoying a glass of wine.
If you just had a baby you will probably want to hold off, assuming that your baby is nursing on demand and that could mean every three hours or every hour. As stated earlier, you must wait about an hour for the liver to metabolize the alcohol, so unless your baby is on a predictable schedule where you can plan your glass of wine you may wish to wait.