|
út 23. 3. 2021 v 0:35 odesílatel Thomas Munro <
> napsal:
On Sun, Mar 21, 2021 at 11:43 PM Pavel Stehule < > wrote: This is correct - this is the number of printed rows - it is used for decisions about using a pager for help. There are two new rows, and the number is correctly +2
Pavel
|
|
In reply to
this post
by Thomas Munro-5
po 22. 3. 2021 v 13:13 odesílatel Thomas Munro <
> napsal:
On Mon, Mar 22, 2021 at 5:10 PM Pavel Stehule < > wrote:
For record, this issue is fixed in pspg 4.5.0.
Regards
Pavel
|
|
Here's a rebase, due to a conflict with 3a513067 "psql: Show all query
results by default" which moved a few things around making it harder to use the pager for the right scope. Lacking time, I came up with this change to PSQLexecWatch(): + if (printQueryFout) + { + restoreQueryFout = pset.queryFout; + pset.queryFout = printQueryFout; + } + SetCancelConn(pset.db); res = SendQueryAndProcessResults(query, &elapsed_msec, true); ResetCancelConn(); fflush(pset.queryFout); + if (restoreQueryFout) + pset.queryFout = restoreQueryFout; + If someone has a tidier way to factor this, I'm keen to hear it. I'd like to push this today. |
|
Hi
čt 8. 4. 2021 v 1:38 odesílatel Thomas Munro <
> napsal:
Here's a rebase, due to a conflict with 3a513067 "psql: Show all query here is an rebase of Thomas's implementation
Regards
Pavel
|
|
On Wed, Apr 21, 2021 at 6:33 PM Pavel Stehule <
> wrote:
> here is an rebase of Thomas's implementation Thanks. I finished up not committing that one for 14 because I wasn't sure about the way to rebase it on top of 3a513067 (now reverted); that "restore" stuff seemed a bit weird. Let's try again in v15 CF1! |
|
st 21. 4. 2021 v 8:49 odesílatel Thomas Munro <
> napsal:
On Wed, Apr 21, 2021 at 6:33 PM Pavel Stehule < > wrote: Understand. Thank you
Pavel
|
|
Hi
st 21. 4. 2021 v 8:52 odesílatel Pavel Stehule <
> napsal:
rebase
Regards
Pavel
|
|
st 12. 5. 2021 v 12:25 odesílatel Pavel Stehule <
> napsal:
looks so with your patch psql doesn't work on ms
Regards
Pavel
|
| Free forum by Nabble | Edit this page |