I've been a cop since 1981.
In that time, I have carried:
Ruger Security Six .357 mag revolver (first few months I was on)
Colt Combat Commander .45 ACP auto pistol
Beretta 92F 9mm auto pistol
Sig 226 9mm auto pistol
Sig 226-DAK .40 cal auto pistol
During my military service as an LE Specialist in the ANG and then an MP in the ARNG I carried:
S&W 15 .38 Special revolver
M1911A1 .45 ACP auto pistol
Beretta M9 9mm auto pistol
I liked all of them. I shot all of them well and have personal examples of all of them, which I still shoot to this day.
If I was going to pick another gun for myself to use for uniformed patrol, I'd look at 2 guns:
Glock 35 in .40 Cal (no compensator)
Smith & Wesson Military & Police 40L in .40 cal
I have big hands & long fingers so bigger guns are not a problem for me. And I'm tall, so carrying a gun with a 5+ inch barrel in a duty holster isn't a problem either