The G19 and P01 are excellent pistols.
Nearly all the pistols in the size class of the G19, P01, P225/P228 are perfect as "do-it-all" side arms. They are large enough to be viable service pistols for uniform carry, yet compact enough to also be viable for EDC/CC.
One could not go wrong with any of them. I believe this size of service grade auto really came about as a result of the (West) German Police modernization trails post-Munich 1972 Olympic massacre. The majority of European security forces were armed primarily with .32acp & .380acp small autos. They all felt they needed to upgrade, with the new wave of terrorism sweeping Europe, so they looked to the German trials and waited anxiously.
The German police service pistol trials were (to my knowledge) the first modern true endurance tests to be conducted for a service pistol selection.
The result was the development of three excellent compact service pistols: the Walther P5, The SIG P6/P225 and the H&K PSP/P7.
From then on nearly all manufacturers have tried, mostly successfully, to come up with their own designs that are comparable in size and performance, to the German's P5, P6 & P7 and we are the better for it.
Look at the excellent compact service autos that have come since; the G19, P228/229, P2022, P320C, CZ's PCR, P01, P07 and far too many others to mention.
Closing thoughts...
During the 20th Century, the three most issued service side arms world wide (in this order) were the S&W M10, the Browning Hi-Power and the PM Makarov....
Who'd have thought the line-up today would be the G19 and the various CZ-75s that would have supplanted the M10 and the BHP, with the PM Makarov still hanging tough all over the third world?