A new study suggests women who gain excessive weight during pregnancy are more likely to have overweight children.