Re: Typo in pgbench messages.

2022-03-01 Thread Tatsuo Ishii
>> So are you fine with Kawamoto-san's patch? > > Yes. > > Patch applies cleanly (hmmm, it would have been better to have it as > an attachement). Make & make check ok. Fine with me. Thank you for the review. Fix pushed to master branch. Best reagards, -- Tatsuo Ishii SRA OSS, Inc. Japan Englis

Re: Typo in pgbench messages.

2022-03-01 Thread Fabien COELHO
So fine with me wrt having a more homogeneous report. So are you fine with Kawamoto-san's patch? Yes. Patch applies cleanly (hmmm, it would have been better to have it as an attachement). Make & make check ok. Fine with me. -- Fabien.

Re: Typo in pgbench messages.

2022-02-28 Thread Tatsuo Ishii
Hi Fabien, >> That doesn't sound like an overwhelmingly convincing argument to print >> some messages with 'X %' and others with 'X%'. > > Indeed. The no-space % are for database loading progress and the final > report which I happen not to process through pipes and are more > user-facing interfa

Re: Typo in pgbench messages.

2022-02-25 Thread Fabien COELHO
Hello Daniel, 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 over

Re: Typo in pgbench messages.

2022-02-24 Thread Yugo NAGATA
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

Re: Typo in pgbench messages.

2022-02-24 Thread Daniel Gustafsson
> 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' ' -f

Re: Typo in pgbench messages.

2022-02-24 Thread Fabien COELHO
Bonjour Michaƫl, I think it's better to back-patch this to stable branches if there's no objection. Thought? That's only cosmetic, so I would just bother about HEAD if I were to change something like that (I would not bother at all, personally). One argument against a backpatch is that this

Re: Typo in pgbench messages.

2022-02-24 Thread Michael Paquier
On Thu, Feb 24, 2022 at 06:38:57PM +0900, Tatsuo Ishii wrote: > >> I think you are right. In English there's should be no space between > >> number and "%". > >> AFAIK other parts of PostgreSQL follow the rule. > > I think it's better to back-patch this to stable branches if there's > no objectio

Re: Typo in pgbench messages.

2022-02-24 Thread Tatsuo Ishii
>> I think you are right. In English there's should be no space between number >> and "%". >> AFAIK other parts of PostgreSQL follow the rule. I think it's better to back-patch this to stable branches if there's no objection. Thought? Best reagards, -- Tatsuo Ishii SRA OSS, Inc. Japan English: h

Re: Typo in pgbench messages.

2022-02-23 Thread KAWAMOTO Masaya
Thanks for your comment! Sorry, I did not attach the patch file. This patch focas on master branch. Best regards, On Thu, 24 Feb 2022 12:15:55 +0900 (JST) Tatsuo Ishii wrote: > > Hi, > > > > I found messages inserted a space before the "%" in pgbench. > > I think this is typo because there ar

Re: Typo in pgbench messages.

2022-02-23 Thread Tatsuo Ishii
> Hi, > > I found messages inserted a space before the "%" in pgbench. > I think this is typo because there are no space before the "%" in other > messages. > What do you think? I think you are right. In English there's should be no space between number and "%". AFAIK other parts of PostgreSQL

Typo in pgbench messages.

2022-02-23 Thread KAWAMOTO Masaya
Hi, I found messages inserted a space before the "%" in pgbench. I think this is typo because there are no space before the "%" in other messages. What do you think? diff --git a/src/bin/pgbench/pgbench.c b/src/bin/pgbench/pgbench.c index f166a77e3a..4ebe5e6ea4 100644 --- a/src/bin/pgbench/pgbe