Re: Typo in pgbench messages.

Поиск
Список
Период
Сортировка
Искать
От
Yugo NAGATA
Тема
Re: Typo in pgbench messages.
Дата
Msg-id
20220225153924.a29bf2febbd0f7b5720f48f2@sraoss.co.jp
Ответ на
Re: Typo in pgbench messages. (Daniel Gustafsson)
Список
Дерево обсуждения
Typo in pgbench messages. KAWAMOTO Masaya <kawamoto@sraoss.co.jp>
Re: Typo in pgbench messages. Tatsuo Ishii <ishii@sraoss.co.jp>
Re: Typo in pgbench messages. KAWAMOTO Masaya <kawamoto@sraoss.co.jp>
Re: Typo in pgbench messages. Tatsuo Ishii <ishii@sraoss.co.jp>
Re: Typo in pgbench messages. Michael Paquier <michael@paquier.xyz>
Re: Typo in pgbench messages. Fabien COELHO <coelho@cri.ensmp.fr>
Re: Typo in pgbench messages. Daniel Gustafsson <daniel@yesql.se>
Re: Typo in pgbench messages. Yugo NAGATA <nagata@sraoss.co.jp>
Re: Typo in pgbench messages. Fabien COELHO <coelho@cri.ensmp.fr>
Re: Typo in pgbench messages. Tatsuo Ishii <ishii@sraoss.co.jp>
Re: Typo in pgbench messages. Fabien COELHO <coelho@cri.ensmp.fr>
Re: Typo in pgbench messages. Tatsuo Ishii <ishii@sraoss.co.jp>
On Thu, 24 Feb 2022 14:44:05 +0100
Daniel Gustafsson  wrote:

> > On 24 Feb 2022, at 13:58, Fabien COELHO  wrote:
> 
> >> One argument against a backpatch is that this would be disruptive with
> >> tools that parse and analyze the output generated by pgbench.  Fabien,
> >> don't you have some tools and/or wrappers doing exactly that?
> > 
> > Yep, I like to "| cut -d' ' -fx" and other "line.split(' ')" or whatever.
> > 
> > I think that the break of typographical rules is intentional to allow such simplistic low-level stream handling through pipes or scripts. I'd prefer that the format is not changed. Maybe a comment could be added to explain the reason behind it.
> 
> That doesn't sound like an overwhelmingly convincing argument to print some
> messages with 'X %' and others with 'X%'.

I agree with Daniel. If inserting a space in front of % was intentional for
handling the result in such tools, we should fix other places where  'X%' is
used in the pgbench output.

Regards,
Yugo Nagata

-- 
Yugo NAGATA 


В списке pgsql-hackers по дате отправления
От: Japin Li
Дата:
От: Julien Rouhaud
Дата:
FAQ