Re: psql: Count all table footer lines in pager setup

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Erik Wienhold <ewie(at)ewie(dot)name>
Cc: Greg Sabino Mullane <htamfids(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: psql: Count all table footer lines in pager setup
Date: 2025-10-05 18:26:16
Message-ID: 1706135.1759688776@sss.pgh.pa.us
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

BTW, I see from the cfbot that my v4-0002 patch is causing a
build warning on Windows:

print.c:3445:1: error: ‘count_table_lines’ defined but not used [-Werror=unused-function]

Evidently this is because the one call site is now within
"#ifdef TIOCGWINSZ", and Windows hasn't got that symbol.
So we'll need to likewise qualify count_table_lines.

I don't feel a need to post a new patch, since this is
a trivial fix and besides I'm not sure yet if we want
0002 at all.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2025-10-05 19:14:44 Re: psql client does not handle WSAEWOULDBLOCK on Windows
Previous Message Álvaro Herrera 2025-10-05 17:23:21 Re: allow benign typedef redefinitions (C11)