Re-using pasta/potato boiling water

Just wondering...Can I boil my pasta for pasta salad (using colander insert) then re-use the water to boil potatoes or vice versa? I don't want to boil multiple pots of water and over-heat my kitchen! Thanks!