Re: utils/misc: Simplify search of end of argv in save_ps_display_args()

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: utils/misc: Simplify search of end of argv in save_ps_display_args()
Дата
Msg-id 20160310143630.GA49013@alvherre.pgsql
обсуждение исходный текст
Ответ на utils/misc: Simplify search of end of argv in save_ps_display_args()  (Alexander Kuleshov <kuleshovmail@gmail.com>)
Список 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 по дате отправления:

Предыдущее
От: Teodor Sigaev
Дата:
Сообщение: Re: proposal: function parse_ident
Следующее
От: David Rowley
Дата:
Сообщение: Re: Parallel Aggregate