utils/misc: Simplify search of end of argv in save_ps_display_args()
utils/misc: Simplify search of end of argv in save_ps_display_args()
Hello, Attached patch provides trivial simplification of the search of end of the argv[] area by replacing for() loop with calculation based on argc.
Re: utils/misc: Simplify search of end of argv in save_ps_display_args()
От:
Alvaro Herrera <alvherre@2ndquadrant.com>
Дата:
Alexander Kuleshov wrote: > Hello, > > Attached patch provides trivial simplification of the search of end of > the argv[] area by replacing for() loop with calculation based on > argc. Uhm. Doesn't this break the very same thing that the comment explains it's doing? -- Álvaro Herrera http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services