pgsql: Fix line count in slashUsage().

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix line count in slashUsage().
Date: 2013-04-05 00:29:52
Message-ID: E1UNuXQ-0002FL-8R@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix line count in slashUsage().

Counting newlines shows that quite a few recent patches have neglected
to update the output-lines count given to PageOutput(). Fortunately
it's not terribly critical that this be exact, since we long since
exceeded the height of most people's terminal windows. Still, maybe
we ought to think of a way to not have to maintain this manually anymore.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/927e1dc96ce3eb4a618fd7b67f69eec72b56d850

Modified Files
--------------
src/bin/psql/help.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2013-04-05 01:08:23 pgsql: doc: Fix number of columns in table
Previous Message Tom Lane 2013-04-04 23:57:09 pgsql: Add \watch [SEC] command to psql.