Can tartar sauce made with pickle relish sit out during a long garden-party lunch?

I grow a few roses and host a long outdoor lunch when they peak, and this year I want to make tartar sauce from scratch instead of buying a jar. The recipe I’m working from is a quick one-bowl mix with mayo, relish and lemon, and it makes more than we’ll eat at one sitting. Our afternoons are hot, and the serving table sits in dappled shade with the bowls going in and out of the cooler. I’m unsure how long a homemade version with relish can stay out before it turns, and whether swapping dill pickle for sweet relish changes how it holds up. I’d also like to know if making it the night before helps the flavor or just makes it watery. How do you handle a big batch at an outdoor meal without it going off?

Update: I found Easy Tartar Sauce Recipe (10 Minutes, One Bowl) helpful for the base mix, but I still worry about keeping a relish-based batch safe through a hot afternoon. My plan is to make it ahead, chill it well, and set out only small bowls while the rest stays in the cooler.

The relish isn’t the issue. It will be fine. But the mayo is perishable. You’ll be fine outside with it for a few hours. But I would only take with you what you expect to be used, and keep the rest refrigerated (or in a cooler). You can also just put the bowl it will be served in on a bed of ice. That way you will keep it chilled throughout.