Re: psql help message contains excessive indentations

2023-09-18 Thread Alvaro Herrera
On 2023-Sep-07, Yugo NAGATA wrote: > Thank you for your explanation. I understood it. I thought of just > imitating other places, and I didn't know each is a single translatable > unit. Thanks for reviewing, and Kyotaro for reporting. Pushed now. -- Álvaro HerreraBreisgau, Deutschland

Re: psql help message contains excessive indentations

2023-09-07 Thread Kyotaro Horiguchi
At Thu, 7 Sep 2023 13:06:35 +0200, Alvaro Herrera wrote in > On 2023-Sep-07, Yugo NAGATA wrote: > > + HELP0(" \\watch [[i=]SEC] [c=N] [m=MIN]\n" > > + " execute query every SEC seconds, up > > to N times\n" > > + " stop

Re: psql help message contains excessive indentations

2023-09-07 Thread Yugo NAGATA
On Thu, 7 Sep 2023 13:06:35 +0200 Alvaro Herrera wrote: > On 2023-Sep-07, Yugo NAGATA wrote: > > > Yes. So, I mean how about fixing \watch description as the attached patch. > > > diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c > > index 38c165a627..12280c0e54 100644 > > ---

Re: psql help message contains excessive indentations

2023-09-07 Thread Alvaro Herrera
On 2023-Sep-07, Yugo NAGATA wrote: > Yes. So, I mean how about fixing \watch description as the attached patch. > diff --git a/src/bin/psql/help.c b/src/bin/psql/help.c > index 38c165a627..12280c0e54 100644 > --- a/src/bin/psql/help.c > +++ b/src/bin/psql/help.c > @@ -200,9 +200,9 @@

Re: psql help message contains excessive indentations

2023-09-07 Thread Kyotaro Horiguchi
At Thu, 7 Sep 2023 16:08:10 +0900, Yugo NAGATA wrote in > On Thu, 07 Sep 2023 15:36:10 +0900 (JST) > Kyotaro Horiguchi wrote: > > > At Thu, 7 Sep 2023 15:02:49 +0900, Yugo NAGATA wrote > > in > > > I wonder this better to fix this in similar way to other places where the > > > description

Re: psql help message contains excessive indentations

2023-09-07 Thread Yugo NAGATA
On Thu, 07 Sep 2023 15:36:10 +0900 (JST) Kyotaro Horiguchi wrote: > At Thu, 7 Sep 2023 15:02:49 +0900, Yugo NAGATA wrote in > > On Thu, 07 Sep 2023 14:29:56 +0900 (JST) > > Kyotaro Horiguchi wrote: > > > > \q quit psql > > > > \watch [[i=]SEC] [c=N] [m=MIN] > > > !>

Re: psql help message contains excessive indentations

2023-09-07 Thread Kyotaro Horiguchi
At Thu, 7 Sep 2023 15:02:49 +0900, Yugo NAGATA wrote in > On Thu, 07 Sep 2023 14:29:56 +0900 (JST) > Kyotaro Horiguchi wrote: > > > \q quit psql > > > \watch [[i=]SEC] [c=N] [m=MIN] > > !> execute query every SEC seconds, up to N times > > !>

Re: psql help message contains excessive indentations

2023-09-07 Thread Yugo NAGATA
On Thu, 07 Sep 2023 14:29:56 +0900 (JST) Kyotaro Horiguchi wrote: > This topic is extracted from [1]. > > As mentioned there, in psql, running \? displays the following lines. > > > \gdesc describe result of query, without executing it > > \gexec execute

psql help message contains excessive indentations

2023-09-06 Thread Kyotaro Horiguchi
This topic is extracted from [1]. As mentioned there, in psql, running \? displays the following lines. > \gdesc describe result of query, without executing it > \gexec execute query, then execute each value in its result > \gset [PREFIX] execute