Having had a baby weighing over 4 kgs (9 lbs) is a risk factor for type 2 diabetes.