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
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
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
> > ---
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 @@
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
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]
> > > !>
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
> > !>
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
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