Re: psql: Count all table footer lines in pager setup
От
Erik Wienhold
Тема
Re: psql: Count all table footer lines in pager setup
Дата
Msg-id
0f586213-3cab-4ceb-9cb8-f1a5d4e6a708@ewie.name
Ответ на
Список
Дерево обсуждения
psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Greg Sabino Mullane <htamfids@gmail.com>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup Tom Lane <tgl@sss.pgh.pa.us>
Re: psql: Count all table footer lines in pager setup Erik Wienhold <ewie@ewie.name>
Re: psql: Count all table footer lines in pager setup BharatDB <bharatdbpg@gmail.com>
On 2025-10-07 00:45 +0200, Tom Lane wrote: > I wrote: > > Another inaccuracy that I find mildly annoying now that we've got it > > mostly right is that we are not accounting for the blank line that > > psql likes to print after the query result, so that you can still > > end with the first output line scrolled off your screen despite > > non-use of the pager. Not sure about a non-kluge way to count that, > > though: it's outside the domain of print.c, and other callers might > > not have a similar behavior. > > Oh wait! That line *is* produced within print.c, so there is no > reason we shouldn't account for it. I spent a little extra effort > on unaligned mode too, since the TAP test is checking that case. LGTM. > I still doubt that anyone's going to care a lot about the other > formats. Yup, I think so too. -- Erik Wienhold
В списке pgsql-hackers по дате отправления