You probably will not need to pump and dump. See here for more information: http://www.kellymom.com/health/illness/mom-surgery.html
There are many types of anesthesia that are safe and compatible with breastfeeding, the trick is making sure your doctor is aware of that and doesn't just tell you not to nurse.
My only concern would be that at 2-3 weeks pp you may not have breastfeeding well established (it often takes up to 6 weeks to get bf well-established in the absence of any problems) and that introducing a bottle, or being separated from your baby and in pain afterwards might affect your breastfeeding relationship.
If there's any way you can reschedule the procedure for a couple of months after giving birth to give yourself a chance to recover from birth and get breastfeeding well-established, that would be my recommendation - unless the procedure is truly minor, like getting a mole removed.
There are many types of anesthesia that are safe and compatible with breastfeeding, the trick is making sure your doctor is aware of that and doesn't just tell you not to nurse.
My only concern would be that at 2-3 weeks pp you may not have breastfeeding well established (it often takes up to 6 weeks to get bf well-established in the absence of any problems) and that introducing a bottle, or being separated from your baby and in pain afterwards might affect your breastfeeding relationship.
If there's any way you can reschedule the procedure for a couple of months after giving birth to give yourself a chance to recover from birth and get breastfeeding well-established, that would be my recommendation - unless the procedure is truly minor, like getting a mole removed.