Potato salad is extremely perishable. However, the mayonnaise is not the culprit. Bacteria love potatoes and eggs, so don't let a potato salad sit out for more than two hours at your get-together if the surrounding temperature is less than 90 degrees. It should not sit out for more than one hour if it's over that. To be safe, keep the potato salad on ice, no matter the temperature.