Oh, and if you're looking for up-to-date information on breeastfeeding and medications, you can check out the links in this thread. Doctors do not always have accurate information on what is and isn't safe to take when breastfeedign (in fact, most medications are safe, especially the older your baby is).
Definitely good idea to ask beforehand though!