Re: Separate the result of \watch for each query execution (psql)

2022-04-05 Thread Robert Haas
On Mon, Mar 21, 2022 at 9:15 PM Andres Freund wrote: > On 2022-02-25 13:23:31 +0900, Noboru Saito wrote: > > I have created a patch that allows you to turn it on and off in \pset. > > The patch unfortunately causes tests to fail: It doesn't seem like the originally proposed design here will be

Re: Separate the result of \watch for each query execution (psql)

2022-03-21 Thread Andres Freund
Hi, On 2022-02-25 13:23:31 +0900, Noboru Saito wrote: > I have created a patch that allows you to turn it on and off in \pset. The patch unfortunately causes tests to fail: https://cirrus-ci.com/task/5932406812180480 diff -U3 /tmp/cirrus-ci-build/src/test/regress/expected/psql.out

Re: Separate the result of \watch for each query execution (psql)

2022-03-01 Thread Noboru Saito
Tom Lane : > Noboru Saito writes: > > I have created a patch that allows you to turn it on and off in \pset. > > The attached patch adds the following features. > > Formfeed can be turned on with the command line option or \pset. > > Formfeed (\f\n) is output after the query execution result by

Re: Separate the result of \watch for each query execution (psql)

2022-02-28 Thread Pavel Stehule
po 28. 2. 2022 v 23:46 odesílatel Tom Lane napsal: > Noboru Saito writes: > > I have created a patch that allows you to turn it on and off in \pset. > > The attached patch adds the following features. > > Formfeed can be turned on with the command line option or \pset. > > Formfeed (\f\n) is

Re: Separate the result of \watch for each query execution (psql)

2022-02-28 Thread Tom Lane
Noboru Saito writes: > I have created a patch that allows you to turn it on and off in \pset. > The attached patch adds the following features. > Formfeed can be turned on with the command line option or \pset. > Formfeed (\f\n) is output after the query execution result by \watch. Hmm ... I

Re: Separate the result of \watch for each query execution (psql)

2022-02-27 Thread Noboru Saito
Hi, 2022年2月25日(金) 13:42 Pavel Stehule : > > > > pá 25. 2. 2022 v 5:23 odesílatel Noboru Saito napsal: >> >> Hi, >> >> Pavel Stehule : >> > > I strongly agree. It was a lot of work to find a workable solution for >> > > pspg. Special chars that starting result and maybe other, that ending >> >

Re: Separate the result of \watch for each query execution (psql)

2022-02-24 Thread Pavel Stehule
pá 25. 2. 2022 v 5:23 odesílatel Noboru Saito napsal: > Hi, > > Pavel Stehule : > > > I strongly agree. It was a lot of work to find a workable solution for > pspg. Special chars that starting result and maybe other, that ending > result can significantly increase robustness and can reduce code.

Re: Separate the result of \watch for each query execution (psql)

2022-02-24 Thread Noboru Saito
Hi, Pavel Stehule : > > I strongly agree. It was a lot of work to find a workable solution for > > pspg. Special chars that starting result and maybe other, that ending > > result can significantly increase robustness and can reduce code. I think > > it can be better to use form feed at the

Re: Separate the result of \watch for each query execution (psql)

2022-02-21 Thread Noboru Saito
Thank you for your reply. 2022年2月21日(月) 14:52 Pavel Stehule : > > Hi > > po 21. 2. 2022 v 6:19 odesílatel Noboru Saito napsal: >> >> I need a way to separate the results of \watch for each query execution. >> >> There is only a blank line between the results of \watch. >> However, there is also

Re: Separate the result of \watch for each query execution (psql)

2022-02-20 Thread Pavel Stehule
Hi po 21. 2. 2022 v 6:19 odesílatel Noboru Saito napsal: > I need a way to separate the results of \watch for each query execution. > > There is only a blank line between the results of \watch. > However, there is also a blank line after the title, which complicates > the rules. > > My

Separate the result of \watch for each query execution (psql)

2022-02-20 Thread Noboru Saito
I need a way to separate the results of \watch for each query execution. There is only a blank line between the results of \watch. However, there is also a blank line after the title, which complicates the rules. My suggestion is to insert a "form feed(\f)" (preferably a newline) before the