Re: utils/misc: Simplify search of end of argv in save_ps_display_args() - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: utils/misc: Simplify search of end of argv in save_ps_display_args()
Date
Msg-id 20160310143630.GA49013@alvherre.pgsql
Whole thread Raw
In response to utils/misc: Simplify search of end of argv in save_ps_display_args()  (Alexander Kuleshov <kuleshovmail@gmail.com>)
List pgsql-hackers
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



pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: proposal: function parse_ident
Next
From: David Rowley
Date:
Subject: Re: Parallel Aggregate