Re: psql: Count all table footer lines in pager setup - Mailing list pgsql-hackers

From Tom Lane
Subject Re: psql: Count all table footer lines in pager setup
Date
Msg-id 1706135.1759688776@sss.pgh.pa.us
Whole thread Raw
In response to Re: psql: Count all table footer lines in pager setup  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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



pgsql-hackers by date:

Previous
From: Álvaro Herrera
Date:
Subject: Re: allow benign typedef redefinitions (C11)
Next
From: Tom Lane
Date:
Subject: Re: psql client does not handle WSAEWOULDBLOCK on Windows