Re: Typo in pgbench messages. - Mailing list pgsql-hackers

From Daniel Gustafsson
Subject Re: Typo in pgbench messages.
Date
Msg-id 5701D080-4E53-4DEC-AF1C-BADB54ACCE4D@yesql.se
Whole thread Raw
In response to Re: Typo in pgbench messages.  (Fabien COELHO <coelho@cri.ensmp.fr>)
Responses Re: Typo in pgbench messages.  (Yugo NAGATA <nagata@sraoss.co.jp>)
Re: Typo in pgbench messages.  (Fabien COELHO <coelho@cri.ensmp.fr>)
List pgsql-hackers
> On 24 Feb 2022, at 13:58, Fabien COELHO <coelho@cri.ensmp.fr> 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
throughpipes or scripts. I'd prefer that the format is not changed. Maybe a comment could be added to explain the
reasonbehind it. 

That doesn't sound like an overwhelmingly convincing argument to print some
messages with 'X %' and others with 'X%'.

--
Daniel Gustafsson        https://vmware.com/




pgsql-hackers by date:

Previous
From: "Gunnar \"Nick\" Bluth"
Date:
Subject: Re: PATCH: add "--config-file=" option to pg_rewind
Next
From: Daniel Gustafsson
Date:
Subject: Re: PATCH: add "--config-file=" option to pg_rewind