What are the potential complications of circumcision surgery?

What are the potential risks and complications associated with circumcision surgery, both during the procedure and in the recovery period? Are there any long-term effects that patients should be aware of?